Welcome to the IDIOM Decision Products Knowledgebase.

alt
 



Recent Comments

    Decision Model Iterator

    Marta Byrski  3 August 2010 10:00:13 AM
    Tip: Repeating Rules via the Decision Model Iterator

    There is now an option to designate the decision group as a ‘Repeating/Non-Repeating’ decision group. If a decision group is designated as ‘Non-Repeating’ then the decision group will be executed as per current functionality. If a decision group is designated as a ‘Repeating’ decision group then the decision group and its attached decisions and sub decision groups will repeatedly execute until one of the attached decisions returns ‘Exit Decision Group’ or ‘Abort Decision Group’.

    Image:Decision Model Iterator

    The valid iteration points of exit are:

    •  ‘ExitDecision’ operation
    •  ‘ExitDecisionGroup’ operation
    • ‘AbortFlag’ flag on the child Decisions/Decision Groups

    Create a Repeating Decision Group

    1.        Right click on the Decision Model Pallette

    2.        Select ‘New’ from the menu.

    3.        Select ‘New Decision Group’

    4.        Drag context from business document onto the new decision group to set the Decision Group context

    5.        Right click on the decision group and select the ‘Repeats’ option

    6.        The decision group should now show a repeating icon to denote it as a repeating Decision Group

    Exit from Repeating Decision Group

    1.        For a Repeating Decision Group on receiving an ‘Exit Decision Group’ instruction, Idiom should behave as it does currently, by stopping execution of the decision group and returning to the calling Decision Group or Decision Model.

    2.        For a Repeating Decision Group on receiving an ‘Abort Decision Group’ instruction, Idiom should behave as it does currently, by stopping execution of the decision group, rolling back any decisions and actions and returning to the calling Decision Group or Decision Model.