Attribute Texts in Decision Report

Hi OPA Experts,
We have multiple test forms in our project which have same/similar field. Eg. the field "Common" is spread across multiple test forms. So, during our build we had to make each attribute text unique by prefixing them with the test form name, since system does not allow duplicate attribute text. Now, when we look at the Decision Report, we see <Test Form Name>_Common instead of the screen display text.
Is there a way to overcome this issue, or is there any work-around?
If multiple attributes exist across different properties, with the same text, Build itself fails. And we cannot even Build & Debug nor Build & Run.
Regards,
Suan.

Yes - you can add the attribute to your properties file and then click the Override button to override the text that appears in your decision report. That said, this is not recommended! It will make your decision report very difficult to use for debugging - your attributes have different texts because they have different proofs (otherwise you wouldn't need different attributes) so if you remove the unique part of the attribute text you will find it difficult to know which attribute you are seeing in your decision report. 
Think about why you have a decision report - do you use it to understand the operation of the rules or do you show it to your end users? If you are using it to understand your rules I certainly wouldn't be overriding the attribute text (for the reasons above). If you are showing it to an end user, perhaps you could represent the information in another, more succinct way (eg using summary screen labels which show/hide as appropriate or put the information in a generated document). Don't forget you can always just hide attributes in the decision report by setting them to Invisible (hides the attribute itself) or Silent (hides the proof) - to do this, add your attribute to your properties file and select the 'Decision Reports' tab. If you make an attribute Silent or Invisible you can still see it in the debugger, but it won't show to your end users (best of both worlds!).
Hope that helps,
Fiona

Similar Messages

  • Displaying only relevant base level attributes in the decision report

    Hi,
    I am running OPA 10.2 determinations server on weblogic. The service I am using is Assess. The following is a node within my decision report:
    <ns0:attribute-node id="dn:88" entity-id="global" instance-id="global" hypothetical-instance="false" attribute-id="b2@Rules_ExternalCalls_EXCommon_doc" type="boolean" text="The information for making motor voter calls have been collected." inferred="true" start-relevance="" end-relevance="">
    <ns0:boolean-val>true</ns0:boolean-val>
    <ns0:attribute-node id="dn:89" entity-id="global" instance-id="global" hypothetical-instance="false" attribute-id="q_Register_To_Vote" type="boolean" text="The applicant does not want to register to vote." inferred="false" start-relevance="" end-relevance="">
    <ns0:boolean-val>false</ns0:boolean-val>
    </ns0:attribute-node>
    <ns0:attribute-node id="dn:90" entity-id="global" instance-id="global" hypothetical-instance="false" attribute-id="Political_Party" type="text" text="The applicant's political party is unknown." inferred="false" start-relevance="" end-relevance="">
    <ns0:unknown-val/>
    </ns0:attribute-node>
    <ns0:already-proven-node id="dn:13"/>
    </ns0:attribute-node>
    As can be seen, although the goal has evaluated to "true" since "q_Register_To_Vote" is false, it is still showing "Political_Party" is unknown. However when I debug in OPM without screens setting "relevant only" to true and provide false to " q_Register_To_Vote", "Political_Party" is hidden from the resulting tree/decision report. How can this behavior be simulated in the determinations server's assess service's decision report?
    Thanks
    Sam

    The reason that political_party shows up in the decision report is because it is actually relevant. For more information on relevance in decision reports see http://docs.oracle.com/html/E24270_01/Content/Decision%20reports/Hide_an_attribute_from_decision_report.htm.
    You can suppress attributes in a decision report by using the Silent and/ or Invisible operators. For more information on that see http://docs.oracle.com/html/E24270_01/Content/Reference/Definition_of_relevant_in_decision_reports.htm.

  • "Relevant Only" attributes in web service decision report

    Is there a way to only get "Relevant Only" attributes evaluation in a web service decision report especially leveraging the Siebel Connector. I noticed that whether we could "Base" or "Full" the decision report contains more items than we would notice in the OPM debugger.
    Is there a way to trim it down?

    As of OPA 10.4.0, the assess service will now only return relevant attributes in the decision report for an unknown attribute. For backwards compatibility, all assess services prior to 10.4 will continue to include all related attributes in the decision report.

  • Display non extended attribute in a Custom Report

    Hi,
    Is it possible to query external attributes (that are not set as extended attributes) in a user report ?
    I read in this forum that reports are just meant to query IDM repository, is it still true ?
    Thanks,
    Ben

    Hello Sandra,
    Thanks for your reply, but eventhen it fails to load the pdf. Is ADS required to be installed for this?
    Can I just pass the pdf_fsize imported from  CONVERT_OTF which is of type i.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE    
    bin_file              = pdfxstring
        TABLES
          OTF                   = L_JOB_OUTPUT_INFO-OTFDATA
          LINES                 = LT_PDF
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      CALL METHOD G_HTML_CONTROL->LOAD_DATA(
         EXPORTING
           TYPE         = 'application' "'text' " 'application'
           SUBTYPE      = 'pdf' "'html'  "'pdf'
           size           = PDF_FSIZE
         IMPORTING
           ASSIGNED_URL         = lv_URL
         CHANGING
           DATA_TABLE           =  LT_DATA "i_html "LT_DATA
         EXCEPTIONS
           DP_INVALID_PARAMETER = 1
           DP_ERROR_GENERAL     = 2
           CNTL_ERROR           = 3
           OTHERS               = 4 ).
    Thanks,
    Jaya.

  • Need custom column widths in Append Text Table to Report

    I need to print reports with tables of different column widths specified for each column, as the contained fields vary in width from just 3 characters in one column to 40 characters in another.  Also we are trying to match the reports generated by a non-labview routine.  In the past I have been able to achieve this by editing the Append Table to Report vi, working my way through the inner hierarchy to replace the DBL numeric COLUMN WIDTH control with a DBL numeric array.  The innermost vi, Set Table Column Width, assigns the numeric to a property node in a for loop, so the change is simple: replace the scalor with an array and enable indexing on the for loop.  Of course, after each Labview upgrade, I've had to go back in and repeat these edits on the overwritten upgraded vi's.  This time there is a problem.  The new version of this toolkit is object oriented, and disturbing these vi's wrecks the class methods in a way I don't understand (mostly because I've had no dealings with object oriented programming) and which cannot be undone.  I recently tried this and after not being able to fix the problem even with phone support, I had to spend the next two days unistalling and reinstalling Labview!  I desperately need a way to achieve this functionality without killing the toolkit, which is used (in its original functionality) by another absolutely critical program.  PLEASE HELP!
    The hierarchy is as follows:
    NI report.lvclass:Append Table to Report (wrap)
    NI report.lvclass:Append Table to Report 
    NI Standard report.lvclass:Append Text Table to Report
    NI Standard report.lvclass:tables
    NI Report Generation Core.lvlibet Table Column Width

    There is a highly relevant thread under discussion here:
    http://forums.ni.com/ni/board/message?board.id=fea​tures&thread.id=429
    You may wish to read it and chime in as it is a discussion of LabVIEW's policy (and possible change in policy for the future) concerning the handling of non-palette VIs between LV versions.
    Rob Hingle wrote:
    > Is that to say NI will not be helping me with this?  Pretty disappointing lack of support, seems
    > like a terrible idea to go to object oriented if even your own application engineers can't figure
    > out such a simple fix.  Gotta give NI a huge thumbs down on this one, thanks for nothing.
    I doubt that it is a simple fix -- our AEs are generally top notch at figuring out solutions for customers -- if it were simple, my bet is they'd have solved it. Asking an AE to work around a bug is different from asking them to rearchitect the toolkit. You are asking them to add a feature that the new version of the toolkit is not
    designed to support. The difficulty in doing this is completely independent of the decision to use LabVIEW classes to implement the toolkit. If any piece of software is not designed with a particular use case in mind, what may be a simple tweak under one design may become a very hard problem under another design.
    In your case, the solution is very straightforward: Use the older version of the toolkit. Any time you create a custom modification of the VIs that ship with LV or one of its toolkits, you should make your own copy and have your VIs link against the copy. LabVIEW promises to maintain all the public functionality version over version. Usually we succeed at that. What we do not promise is to maintain our private implementation of that functionality. It is impossible for LabVIEW (or any other software library) to maintain all of its private internal operations while still continuing any development. Using a copy of the original VIs shields you from having to recode your changes every version (something you've already mentioned is a chore) and it guarantees that functionality that you relie upon does not disappear.
    I hope you are willing to be understanding of this situation and not hold it against the AEs working on this. They try hard to provide excellent customer service, and spend lots of time inventing custom solutions for our users.  This happens to be a situation where the correct fix is not to modify the new toolkit version to do something it wasn't designed to do but to modify your development process so that the problem is solved now and into the future. 

  • How can I add a variable that will always be relevant to a decision report?

    I would like to add assessment date and assessment notes to a decision report, such that these two variables are always displayed (always relevant), regardless of whether the overall conclusion is true or false. What would be the best way to do this?
    Thanks,

    Is there a reason why the assessment date and notes are part of the eligibility rule? Looks like the assessment date and notes are just two bits of information to be collected, but which aren't really part of the eligibility determination?
    Normal practice is to keep the eligibilty rule 'pure', i.e. just containing the eligibility logic, and to separate out other attributes which may need to be collected, but which are not really eligibility criteria. For example:
    the Immediate Needs Assessment is complete if
    the Immediate Needs Assessment Date is known and
    the Immediate Needs Assessment Notes is known and
    it is known whether or not the person has an immediate need for assistance
    or if you just need to know the assessment date or the notes:
    the Immediate Needs Assessment is complete if
    either
    ...the Immediate Needs Assessment Date is known or
    ...the Immediate Needs Assessment Notes is known
    and
    it is known whether or not the person has an immediate need for assistance
    As long as the interview has been completed (regardless of whether or not the person is eligible), the decision report for "the Immediate Needs Assessment is complete" will show the assessment date/notes, and then the logic tree for the main eligibility rule.
    Cheers,
    Jasmine

  • Move "Report Total" text in Classic Report

    I am using APEX 4.0.2 and I would like to move the position of the report total text (Display This Text When Printing Report Sums) in the Break Formatting section of the Report Attributes tab.  By default, it appears in the first column.  It there a way to move the text display to column 2 or 3?
    Thanks you for your time and attention.

    Okay,
    Well this is actually an CSS thing, but in this case, since the break formatting section is just another table row, you might as well use some jQuery to prepend an extra table cell to the break row.
    You can use the following code in a "page load" dynamic action:
      $('.apex_report_break').parent().prepend('<td></td>')
    This will add one empty table cell to the break formatting section row. If you want more than one table cell indent, you can use the colspan attribute to make the prepended column wider:
         $('.apex_report_break').parent().prepend('<td colspan="2"></td>')
    The advantage of using jQuery in this case is that your text will always be indented the correct distance, regardless of the content and width of the underlying table columns.
    Regards,
    Vincent Deelen

  • Decision Report from siebel-determinations-server missing name substitution

    In the debugger decision report, I get the name substitution - ie "Bubba Gump is eligible".
    But in the decision report that gets saved in Siebel, I am getting "the person is eligible"
    the inbound XML also shows "the person"
    What do I need to be doing to get the name substitution in the decision report saved in Siebel?
    Running OPA 10.4.1
    Thanks,
    Allan

    Hi Frank,
    Well, I went back to pull the rules for the name subsitution, and saw that I had a concatenation issue where if the middle name was unknown, the rules I wrote weren't working. This is because Siebel brings it up as uncertain.
    Once I changed the rules to check for uncertainty, the substitution text (the person's name) worked as expected in the decision report.
    Thanks, we can consider this closed.
    Cheers,
    Allan

  • How to remove the entity instances from a decision report

    Please see below the rules and the resulting decision report
    How can I remove, from the decision report, the four lines that say "the persons in the family unit", instance 1, instance 2, instance 3?
    I just can't seem to find a place where the use of silent or invisible will cause the four lines not to appear
    The Rules
    the applicants for income assistance in a family unit have completed (and submitted) to the minister an application for income assistance (part1) form if
    forall(the persons in the family unit, the person satisfies the requirements to complete and submit an application for assistance (part 1) form)
    the person satisfies the requirements to complete and submit an application for assistance (part 1) form if
    all
    the person is an applicant
    s4.1(2)(a)(i)     the person has provided a social insurance number
    s4.1(2)(a)(ii)     the person has provided the information, authorizations, declarations and verifications specified by the minister as required in the application for assistance (part 1) form
    The Decision Report
    EA Regs s4.1(2)(a)(Application - Part1) is satisfied.
    The applicants for income assistance in a family unit have completed (and submitted) to the minister an application for income assistance (part1) form.
    the persons in the family unit
    instance #1
    instance #2
    instance #3
    Abel satisfies the requirements to complete and submit an application for assistance (part 1) form.
    Abel is an applicant.
    Abel satisfies section s4.1(2)(a)(i).
    Abel has provided a social insurance number.
    Abel satisfies section s4.1(2)(a)(ii).
    Abel has provided the information, authorizations, declarations and verifications specified by the minister as required in the application for assistance (part 1) form.
    Edited by: A Gibson on Oct 11, 2010 3:35 PM

    Here are some further details. If images could be attached to this forum then I would have included some screenshots, but this forum only allows text.
    1. Set up regular name substitution (See the sections "Set up substitution" and "Substitute the actual value of a variable for its text" in the OPM Help article "Change the text of an interview question or sentence").
    2. In the Properties file, double-click on the entity. This will open the Edit Entity dialog.
    3. In the Edit Entity dialog, fill in the Identifier field with the variable you're using for the regular name substitution.
    4. Click OK and you're done!
    Cheers,
    Jasmine

  • Determinations Server - response with and without decision report

    I'm trying to solve a problem where a decision report will be needed sometimes but not all the time.
    Is there a way to have to have the determinations server respond with 2 different responses for 1 request?, or send back the standard response without decision reports and write a response with decision reports to a log?
    The concern is that the decision reports will slow the processing of the entire application.

    Hi. It may not be exactly what you are looking for perhaps following link from developer's guide could help.
    Oracle Policy Automation Developer's Guide
    Process multiple determinations within the same Assess request
    The Determinations Server is able to process multiple determinations within the same Assess request. To do this you must:
    Design your rulebase to concurrently determine multiple outcomes.
    At runtime, construct your request to send all the entities you want to reason on, and all the outcomes that you want.
    Rulebase Design
    You can design a rulebase in such a way that it can make multiple determinations concurrently if the determinations are attributes or, less commonly, inferred relationships belonging to a non-singleton (and not the global) entity.
    Once the outcomes belong to an entity, it is possible to create multiple entities and infer the values for all entities at once.

  • JRC Export to Text like Crystal Report Designer Export

    We need to Export report to Text like Crystal Report Designer Export using JRC. Is this possible? I see export ReportExportFormat CSV, PDF and RTF only. These exports are working, But I need plain text that looks like Text export of Crystal Reports Designer. I see this working in RAS 2008. What I can do to get this with JRC. I am using Crystal Reports 2008 to design reports.
    Thanks for any help.
    Regards
    Raveendra
    Clarification

    Thank you Jitin.
    What could be solution to this problem?
    If still I want to go with JRC, Can I write some Java code to perform this export?
    I see TextExportFormatOptions and its not working.
    If I want to export automatically to text format, what other choices are there?
    Basically I need to execute report and generate text file automatically. Text file should look like Crystal Report Designer Exported Text file.
    Thank you for your time.
    Regards,
    Raveendra

  • Display a Long Text in ALV report

    Hi,
    I want to display the PO header long text in ALV Report that is 255 character width.
    Please help me out how to do this.
    please it is very urgent
    Thanks and regards
    Krishna

    Use READ_TEXT and concatenate the first lines of the text.
          CALL FUNCTION 'READ_TEXT'
               EXPORTING
                    id       = 'F01'
                    language = sy-langu
                    name     = lv_name " purchase order with leading zeroes
                    object   = 'EKKO'
               TABLES
                    lines    = t_lines
               EXCEPTIONS
                    OTHERS   = 8.
    Regards

  • Can We Display a Tabular Format in the Decision Report?

    Hello,
    One of my current OPA integrations is replacing an Excel-based application that calculates entity values across rows and columns. In the OPA version, the rows are separated into screens, and the columns - the results - are displayed in a decision report that shows a single value per line, and is not vertically aligned. This makes the results much more difficult to view "at a glance" compared to the legacy solution. I'm wondering if there's any way to incorporate tabular formatting (mainly vertical alignment) within the decision report - does anyone know?
    Thanks!
    - Patrick

    With version 10.3 and the BI publisher integration you can design virtually any format for the decisions you wish. When using BI publisher, a completely customized decision report is quite easy. See the OPM help topic "BI Publisher code for Oracle Policy Modeling" and/or the example that ships with 10.3 for more info. If using the web service to make determinations, you could also post process the XML for the decision report (i.e. using XSLT or code) to produce a table in XML or HTML. Customizing the "default" decision report into a tabular view would probably prove more difficult than the other options.

  • How to Get Navigational attributes of dso in Report ...

    Hi i have a dso with many fields ,
    In the report i need to get some navgational attributes which are in dso..
    How to Get Navigational attributes of dso in Report ..??
    Thanks All..

    hai naiduz,
    in the dso u find folder with navigational attributes, there select the Navigation check box the fields which u need in the report.
    and further if ur dso through multiprovider and also identify them at multi provider level.
    then u will be able to see the fields at query designer level, then u can use the nav. fields u need in the report.
    regards,
    Vj

  • How to use a radio button in enabling/disabling a text box in report progra

    Hi,
        Could any please let me know, how to use a radio button in enabling/disabling a text box in report program.

    *& Report  ZMR_RADIO_BUTTONS
    REPORT  ZMR_RADIO_BUTTONS.
    PARAMETERS : R1  RADIOBUTTON GROUP G1,
                 R2  RADIOBUTTON GROUP G1.
    PARAMETERS : A1 TYPE I,
                 A2 TYPE I.
    AT SELECTION-SCREEN OUTPUT.
    *initialization.
    IF R1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF R2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
    ENDIF.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 0.
    ENDIF.
    modify screen.
    ENDLOOP.
    ENDIF.
    START-OF-SELECTION.
    *IF R1 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A1'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 1.
    ENDIF.
    *ENDLOOP.
    *ENDIF.
    *IF R2 = 'X'.
    *LOOP AT SCREEN.
    IF SCREEN-NAME = 'A2'.
       SCREEN-INPUT = 0.
       SCREEN-ACTIVE = 0.
    ENDIF.
    *ENDLOOP.
    *ENDIF.

Maybe you are looking for