Summary Screen & Temporal Rules

Hi,
I am using Temporal Rules in the Rulebase. The Top Goal defined by the Temporal Rules is a Boolean Attribute and used for user display on the Summary Screen.
The Rulebase errors out when the Boolean Attribute has both Yes & No value (because of Temporal Rule evaluation). The following error is thrown:
0 [http-127.0.0.1-9000-Processor4] ERROR com.oracle.determinations.web.platform.servlet.WebDeterminationsServletUtility - java.lang.ClassCastException: com.oracle.determinations.engine.local.temporal.TemporalValue cannot be cast to java.lang.Boolean
java.lang.ClassCastException: com.oracle.determinations.engine.local.temporal.TemporalValue cannot be cast to java.lang.Boolean
     at com.oracle.determinations.interview.engine.screens.LocalControlFactory.evaluateControlState(LocalControlFactory.java:198)
     at com.oracle.determinations.interview.engine.screens.LocalControlFactory.createAndInitControlInstance(LocalControlFactory.java:116)
     at com.oracle.determinations.interview.engine.screens.EntityInstanceInterviewControl.doAdditionalInitialisation(EntityInstanceInterviewControl.java:47)
     at com.oracle.determinations.interview.engine.screens.RelationshipGroupInterviewControl.doAdditionalInitialisation(RelationshipGroupInterviewControl.java:36)
     at com.oracle.determinations.interview.engine.screens.LocalControlFactory.createAndInitControlInstance(LocalControlFactory.java:142)
     at com.oracle.determinations.interview.engine.screens.LocalScreen.init(LocalScreen.java:135)
     at com.oracle.determinations.interview.engine.screens.LocalScreen.<init>(LocalScreen.java:40)
     at com.oracle.determinations.interview.engine.screens.LocalSessionScreenService.getDefaultSummaryScreen(LocalSessionScreenService.java:227)
     at com.oracle.determinations.interview.engine.screens.LocalSessionScreenService.getScreen(LocalSessionScreenService.java:66)
     at com.oracle.determinations.web.platform.controller.ScreenController.getScreenInstance(ScreenController.java:274)
     at com.oracle.determinations.web.platform.controller.ScreenController.renderScreen(ScreenController.java:112)
     at com.oracle.determinations.web.platform.controller.ScreenController.renderScreen(ScreenController.java:90)
     at com.oracle.determinations.web.platform.controller.actions.ScreenAction.getResource(ScreenAction.java:32)
     at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDeterminationsServlet.java:80)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
     at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
     at java.lang.Thread.run(Unknown Source)
Is it a known issue? Also, if there is any fix for the issue, please let me know.
Thanks in advance,
Aditya

Screens are not temporal so can't use temporal values to control the state of items on a screen. You can use the temporal functions (+Policy Modeling Help --> Temporal Reasoning+) to set a single boolean value based on some or all of the periods in your temporal attribute.
For example, if you wanted to show the summary screen item based on the value of your attribute at a particular point in time you can use the ValueAt function. Similarly, you could use the IntervalSometimes function to find out if the attribute was ever true.

Similar Messages

  • Displaying Entity Level Attributes on Summary screen

    Hi
    Is there a way to show the value of an entity level attribute on the summary screen?
    I need the attribute values for all entity instances to be listed on the summary screen.
    For example, I have a household member entity and I need to display on the summary screen the names of all
    the household members who are above 18 years of age.Is this possible?
    Thanks,
    Lokesh

    Out-of-the-box in version 10, no, you can't attach entity level attributes to the summary screen.
    The new InstanceValueIf function in 10.1 can be used to partially address the issue of wanting to display entity level information on the summary screen. Basically, you can use this function to move a text value from an entity level to the Global level, and that new Global attribute can then be attached to the summary screen.
    Rule syntax:
    InstanceValueIf(<the relationship>, <the value expression>, <the condition expression>)
    Example rule:
    the name of the oldest child = InstanceValueIf(the children, the child's name, the child's age = the age of the oldest child)
    InstanceValueIf: http://www.oracle.com/technology/products/applications/policy-automation/help/opm10_1/Content/Reference/Rule%20syntax%20reference/Entity_and_relationship_functions.htm
    However, this function only works where there is only one entity instance which satisfies the conditional expression. Therefore it wouldn't work for your example as presumably there could be multiple household members who are above 18 years of age.
    You could consider attaching a Global level attribute on the summary screen ("there are household members who are above 18 years") which has a decision report listing the people who satisfy the criteria, e.g.
    there are household members who are above 18 years if
    …..ForAll(the household members, the household member's age is known) and [invisible]
    …..Exists(the household members, the household member is above 18 years of age) [silent]
    the household member is above 18 years of age if
    .....the household member's age > 18
    (Note that I've used the silent and invisible parameters in the first rule to trim the decision report.)
    Imagine the following 4 household members:
    Homer, aged 38
    Marge, aged 36
    Bart, aged 10
    Lisa, aged 8
    Assuming you've set up name substitution in the rule project, the decision report will say "Homer is above 18 years of age" and "Marge is above 18 years of age". As this is the decision report, it won't be displayed directly on the summary screen, but will be accessible via the [Why?] link. This might be as close as you'll get using only out-of-the-box functionality and no customisation.

  • Link goal with screenflow on default summary screen

    Hi Guys
    Is there any way on the default summary screen that you can force the investigation of a goal to use a flow?
    Consider
    You have a goal to invesitgate
    You have a defined flow
    You want to be able to display the goal summary with decision report access at the end - just as if you were investigating the goal without the flow.
    I just want the one goal investigation to be displayed at startup - and the normal goal conclusion on the final summary screen (complete with DR link).
    Currently I have both the goal and the flow on the summary screen with rules to hide the goal if it is unknown and show the flow - and the reverse when the goal is known (show the goal and hide the flow). This gives me the effect I want, but is a bit cludgy. Is there a way to force a summary screen goal to use a flow?
    Thanks
    Roger

    The approach of specifying goals and flows separately gives the most flexibility over what is shown to the user, and what you are doing sounds like the right way to achieve what you want.
    Davin.

  • Display Entity attribute values on summary screen

    Hi,
    I have a rule base which allows the members of a household to apply for some benefits. A few documents are also required to be submitted in order to complete the application process.
    The documents may or may not be required for all the members of the household. For Example, lets assume the application asks for a disability certificate. This has to be submitted by only those who are disabled.
    I want to display the list of the members (on the summary screen) for whom a particular document is required.
    How I can get this list? I tried storing the member names in a global variable, but was not successful.
    The rule base has a separate entity to capture the household members.
    Thanks,
    Aakarsh

    Out-of-the-box in version 10 you can't attach entity level attributes to the summary screen.
    However, have a look at this thread for some alternate ideas to address what you're trying to do: Displaying Entity Level Attributes on Summary screen (Thread title: Displaying Entity Level Attributes on Summary screen)
    Cheers,
    Jasmine

  • Screen Order in OPA ( Summary Screen to Question Screen)

    Hi All
    I designed both Summary screen and Question screen in OPM. How to create the screen order so that summary screen will call specific question screen instead on Automatic screen?
    Thanks
    Dev

    Notes on terminology:
    OPM is the development environment. It is where you write rules in Word and Excel documents, create screens etc, etc.
    OPA is a generic term for the technology as a whole but is usually used to refer to actual deployments of the rules engine itself. You provide the engine with data in some way (dependent on your deployment channel) and it gives you back an answer in some way. There are various extension mechanisms available to allow you to do things like get information in from a web-service.
    So in answer to your question (as you phrased it):
    There are no mechanisms that ship with the product to have data consumed by OPM which is the place that you create rules for later execution in OPA. You would have to code something specifically to do whatever it is you want to do.
    What benefit will the web-service provide to someone creating rules? Why do you want to pass information from a web-service into the rules development environment? I'm not saying that there is no use case, I'm just saying that it's not one I've ever heard people ask for before (except in those cases where they got the terminology confused and were actually asking about how to use web-services with OPA but said OPM).
    Assuming that you still think this is something you want to do can you please explain why you would want to do that? (If you can explain your use case then that can help the team who build the product to think about ways that they could make it easier in the future)
    If you want to know what mechanisms there are for OPA (the rules engine) consuming data that is a different question from the one you asked and for which Jasmine has given you a lot of links to further information - so I'd suggest you read up on them and then refine your question if they do not provide the answer.
    If you can make a clearer statement of what you're trying to achieve then you're more likely to get a useful answer (not me, I don't know much about using web-services other than using ODS - Oracle Determination Server - a deployment of the OPA rules engine with a web-service wrapper).

  • What determines whether an application gets a green check or a yellow warning sign in the deployment summary screen when using an MDT/UDI task sequence?

    I am trying to get Office 2010 to install using a UDI task sequence, and it IS installing, but it has a yellow exclamation point next to it at the summary screen after the task sequence completes, as does another app I am trying to install.
    The apps that use an .MSI are fine, and get the green check, but the two apps that use .exe for their installers get the yellow warning sign.  I assume this has to do with exit codes or detection rules, but I am very new to SCCM (using 2012 and MDT
    2012 Update 1), so I need some help.
    Thank you! 
    EDIT: This probably has to do with the fact that SuccessOrFailureCode being blank.  I have been pouring over .vbs scripts and logs, but they all seem to indicate that my application installs just fine, with an exit code of 0. Where does this screen
    get the SuccessOrFailureCode?
    Like
    This
    Quote
    MultiQuote
    Edit

    I have some updated info on this problem.
    I am trying to install Symantec Endpoint Protection with a custom wrapped .EXE file, and I have created detection rules for the install.
    According to AppEnforce.log, SEP is installing and returning an Exit code of '1', and that is being handled with my custom return code handling, which I've defined as a 'success'.  However, the deployment summary is still showing a yellow exclamation point
    next to the SEP install, and the SuccessOrFailureCode is blank.
    Why isn't the SuccessOrFailureCode equal to '1'?  Where is the disconnect between the AppEnforce.log and the deployment summary.

  • IPod Touch syncing no longer showing summary screen on my computer

    I transfered all my iTunes library onto my new computer and am now syncing my i-Pod touch to it. At the same time I am upgrading to 3.O. Suddenly I no longer can see my Ipod touch in Itunes listing on left hand side nor does it show the summary screen so I can tell how long my syncing will take. It seems like hours now that my iPod Touch is syncing (per the message on my ipod). How can I make my computer display the summary screen?

    I'm having the same exact problem. The thing is...you can even see the songs that you've purchased on your ipod on the left still...it's just that the ipod itself won't show. So I can see what songs I've purchased on my ipod...but I can't put anything on or take any off. I've tried shutting down and restarting...reinstalling itunes...all of that stuff. Nothing has worked.

  • Is there a way to create a commentary file for the summary screen?

    I am not seeing the summary screen in the list of commentary files in the \Development\include\commentary\en-CA\screen path. Is there a way to create a commentary for the summary screen?
    Thanks all.

    thanks Kristy,
    I'm not sure of the best way to add any requests we have for future releases.
    If there is one, let me know what is best.
    Here is what I want to add.
    In the properties file, one can set decision report preferences for an attribute - for invisible and silent.
    I wish we could also set preferences for bold, and given that, I guess it makes sense to be able to set preferences for italic and underline
    While these can be addressed through custom properties and XSLT, it obviously would be easier for the modeler to be able to select the attribute enhancement in the properties file. Given that decision reports can get very long, and there are attributes which might be better highlighted in some way, this would be a great approach.

  • Can you help me to retrieve my applications. In iTunes I accidentally clicked the Restore button in the Summary screen. It restored the original settings and I lost all my applications and don't know if it is possible to retrieve them.

    Can you help me to retrieve my applications. In iTunes I accidentally clicked the Restore button in the Summary screen. It restored the original settings and I lost all my applications and don't know if it is possible to retrieve them.

    All apps on an iPhone, iPad, or iPod Touch should be in your iTunes library on your computer.
    You can re-download all 3rd party apps and you won't be charged again for a purchased app as long as you use the same iTunes account to re-download the apps that was used to purchase the app originally.
    http://support.apple.com/kb/HT2519
    Do this with iTunes on your computer. After you have re-downloaded every app one by one, select Sync Apps under the Apps tab for the device's sync preferences along with selecting the apps below that you want transferred to the device followed by a sync to re-install the apps on the device.

  • Cut off text on iPod summary screen

    Text on the summary screen for iPods is cut off. iPod description is cut at the bottom of the font text. Text in the options field doesn't show full description. It just ends in ... I can't even mouse over to get a full description and the iTunes help is horrible.
    Examples:
    Open iTunes when this iPod is ...
    Prefer standard definitio...

    Is your display resolution currently set to at least 1024x768, Jay, as per the following document?
    [iTunes: May not display all options at low screen resolutions|http://support.apple.com/kb/TS1845]

  • When I plug my iphone in to synch with itunes the summary screen doesn't come up. It starts synching everything. I only want to synch music.

    When I plug my iphone in to sync with itunes the summary screen does not come up. I only want to sync music. It starts synching everything.

    Disable automatic syncing.
    Whatever is selected under the various tabs for your iPhone sync preferences will go through the process of being checked - if there are any changes in regards to the data you have selected to be synced with or transferred from your computer regardless.

  • How do I get back to email summary screen from a message

    I can't get out of the edit mode in my messages.  I can not get back to a message summary screen no matter what I do.  The options across the bottom of the screen are reply, trash, folder, flag and reply.
    Only since iOS 6 upgrade

    On the top it doesnt say ALL Inboxes or iCloud or whatever mail box your in?
    If not, close the app, double click the home button, swipe over and kill the Mail App..Then open mail app again.

  • How to hide a summary screen

    Hi,
    We've a requirement in which after clicking submit on last page, the user should be navigated to a different url.
    We implemented this, but in our case the url opens in new window and OPA Application proceeds to summary screen.
    If we try to open the url in same window, the url page is overwritten by summary page, so we thought that somehow not showing the summary screen will solve our problem.
    Can anybody please help with this? Any other approach to do this is also welcome.
    Thanks.

    Since the summary screen drives the whole interview, you cannot hide it.
    A hack to achieve what you are trying to do is to modify the summary screen .vm template to emit a meta refresh tag that redirects to your desired page. (The hack is using the refresh tag with an instant refresh, not modifying the template!)
    The simplest thing, though, is just to provide a simple summary screen that says. "Click here to continue." Or similar.
    Davin.

  • Customized Quiz Summary screen

    <Captivate 7, Win 7>
    Hi,
    Can we customize Quiz Summary screen?
    Can there be a review screen that shows:
    custom title of each assessment slide e.g. "Algebra question'
    the learners answers
    what the correct answers were 
    AND, on this same screen, can there be a link for the learner to go to any of those quiz items from that screen and review again?
    cheers and thanks!

    You can give each quiz question a Slide Name, yes.
    You can edit the Question Title caption to say anything you want, yes.
    You can use Variables and Advanced Actions to capture details about what answers the user selected on specific questions and then insert these variables into captions on the Quiz Results slide, yes (but it might get very crowded and 'busy'.
    You can insert captions on the Quiz Results slide that show the correct answer for specific questions, yes (but again I think you won't have the room for all this).
    You can place Smart Shape buttons on Quiz Results slides and use these to jump to other slides in the project, but when you jump back to those slides you may be initiating a new attempt on the quiz if there are more attempts allowed.  So this might mean you don't see the user's previous answers displayed.  Clicking the Review Quiz button on the Results slide is the only way to trigger quiz review mode.

  • CP5.5 - Is it possible to create a quiz summary screen with all questions reviewed on one screen?

    Hello Forum members,
    I was wondering if it is possible, rather than having a quiz review where you review the quiz questions one screen at a time, if it is possible to create a quiz summary screen, which will provide a summary of which questions were answered incorrectly/correctly (without actually giving the user the correct answers)?
    An example of what I'd like to achieve is below:
    Is this possible in CP5.5? Perhaps with Advanced Actions/variables?
    many thanks
    Loraine

    Hello Loraine,
    This is possible using Advanced Actions and variables. After every question, On Success you can set a variable to 1 and create a custom screen where you can show/hide the tick mark graphic based on the variable value set.
    For Ex:
    - For question 1, on success, set x=1
    - On the results screen, correct tick mark graphic is hidden. If x=1, then show the correct tick mark.
    Like this you can do for all the questions. Will wait for others also to comment for any quicker solution.
    Thanks,
    Vish

Maybe you are looking for

  • N95 lock ups

    Hi have just got my n95 and its great apart from it has started to lock up. The screen illuminates black and blank and the nav keys on the front light up. From this point all I can do is remove the battery and re boot it? Anyone got any ideas ???

  • If I have 2 laptops can I use my account on both?

    I have a laptop and I'm thinking about getting a netbook. Now I know you can only use one computer for downloading everything to the iPods but can I just download Apple iTunes to a netbook and purchase off my same account and download some music and

  • Calling a Stored Procedure with a IN OUT VAR

    Hi I'm trying to call an oracle stored procedure and get a return code if it completely ran successfully. This is my first time doing this and would really appreciate some PROCEDURE P_NP_OVERDUE_COMPLETED (P_YEAR_NO IN NUMBER, P_WEEK_NO IN NUMBER, P_

  • Can OSX be installed onto a PC?

    Sorry, kind of long.... but expresses what I'm looking for, trying to do, and why. I need a new computer. We used to have two, and then one caught fire (watercooled, developed leak, coolant dripped onto electronics...). Now we have one remaining comp

  • HT3593 I have a OS X 10.4.11 and my new iphone 4 will not sync with it.  I get a message that says i need a 10.5 or higher.  what can I do?

    I have a OS X 10.4.11 and my new iphone 4 will not sync with it.  I get a message that says i need a 10.5 or higher.  what can I do?