Policy Automation for B2C Service

Get Involved. Join the Conversation.


    Anuj Behl
    How to use screen relevancy with entities?Answered
    Topic posted March 8, 2016 by Anuj BehlBlack Diamond: 60,000+ Points 
    209 Views, 3 Comments
    How to use screen relevancy with entities?



    I am working on an interview to collect some data from user and store it into a custom object in Oracle Service Cloud. The custom record would also be linked with OSC Incident record.

    Initially, I created attributes which were all bound to Global entity. I created some interview screens and wrote rules. According to my rules, some screens did not show up as the questions in them were not relevant to the interview goal. This worked fine.

    To map the collected data with OSC, I created an entity in OPA and moved those attributes within the entity. I placed the entity container on interview screens. The interview is collecting entity attributes on multiple screens. Now when I ran the interview, even the not relevant screens were shown to get the data. I checked the decision tab and even though the Goal was reached, system asked for all entity attributes.

    How do I make the screen irrelevant when using entities?


    (Attached sample project for this scenario)




    Policy Modelling Nov'15

    Best Comment

    Anuj Behl

    Continuing this conversation on OPA oracle community - https://community.oracle.com/thread/3906498



    • Jasmine Lee

      Have you checked what the ‘Details’ button says for those interview screens in the Debugger? The Details button appears when you mouse over the screen name in the left hand panel of the Debugger (Interview tab). It provides information about why each interview screen is/is not displayed in an interview. See instructions in the Help article below.

      Check screen appearance and behavior: http://documentation.custhelp.com/euf/assets/devdocs/february2016/PolicyAutomation/en/Default.htm#Guides/Policy_Modeling_User_Guide/Interviews/Test_an_interview.htm#Check

    • Anuj Behl

      Thanks Jasmine,

      Yes, 'details' button says that

      The screen will be shown
      The screen collects relevant information

      Though, it also shows that the Goal has been completed. I don't understand how is it relevant now, as any value won't change the outcome of the interview. sad Without the entity, the same screen would not have been relevant.

      Am I missing something?

    • Anuj Behl

      Continuing this conversation on OPA oracle community - https://community.oracle.com/thread/3906498