Decision Rules

<<Back

·         These are used to evaluate properties and return required results.
·         These can be created under Decision Category. The below are different types of Decision Rules.
1.      Decision Table
2.      Decision Tree
3.      Map Value
4.      FORK (This is not a rule).
·         These rules can be used to make a decision path in the work flow.
Decision Table: - It follows the logic if, else if, else if and so… on... Otherwise.
·         When no if condition is satisfied it returns the value of ‘Otherwise’.
·         Using this rule we can return any values. Decision Table can be called from
1.      Flow Using Decision Shape.
2.      Activity using the method ‘Property-Map-DecisionTable’
3.      Decision Tree.
4.      Declare Expression.
The results of decision table can be taken from the local list of a property which we can specify under results Tab. 


Decision Tree: - It follows the logic of If, If, and so on... Otherwise.
·         We cannot use Expression builder here.
·         From a decision tree we can call other decision rule like Dec table, Tree, map value when select the option “Allow selection of ‘call decision’ Option” under Configuration Tab.
·         Decision tree can be used when the logic is complex and which involves more number of properties.
·         We can divide the logic into small components of tables and trees thus all these can be called into one single decision Tree.
·         It can be called from
1.      Flow Using Decision Shape.
2.      Activity using the method ‘Property-Map-DecisionTree’
3.      Decision Tree.

4.      Declare Expression.

FORK: - Unlike decision table and tree FORK is not a rule.
·         Fork is an option that can be chosen in Decision shape.
·         It uses when rules in the connectors for decision making i.e., we need to call when rule in the connectors of decision shape.
·         When rule satisfied connector will be taken into decision path. 

No comments:

Post a Comment