Differnce between when rule and decision flow shape
The action performed by "when" rule and "Decision" shape in flow rule looks very similar. Is there any difference between them? What is the background processes done while creating this rule and shape?
***Updated by moderator: Lochan to move post from Academy to PSC***
A when condition rule is an instance of the "Rule-Obj-When" rule type. This rule evaluates a Boolean logical statement involving comparisons among values of properties, to return true or false.
Decision shape evaluates an expression or calls a rule, such as a decision tree/decision table/map value, to determine which step is next in the flow progression.
Decision shape on a flow references a
A map value
A decision table
A decision tree
At run time, the system evaluates the decision rule to determine how a work item progresses through the flow. The work item progresses along one of the connectors leading from this shape, depending on the outcome of the decision rule