about us      downloads      documentation      contact      home 
 products
 antHR
 workflow studio
 technical toolkits
 content entry
 workflow
 security
 hierarchy
 concepts
 how tos
 reference
 FAQs

Action: Branch on case

Branches the workflow based on contents of the case
Path: Root\Workflow\Standard actions
Allows the workflow to be branched based on values in the case. The conditions take the format of XPath conditions. It allows as many conditions as needed and these are evaluated in order (the first condition that is true is the transition that is followed). If none of the conditions are true then the "Default" transition is triggered.

Common uses

Branch on numeric value Based on the value of a field, branch to different levels of approval. For example branch on total value of an CapEx request where <3000 is approved by department head, <10000 is approved by FD/CFO and Default is approved by MD/CEO
Branch on selected value Branch on a field in the case that is selected from a drop-down selector. For example in a document review the reviewer can specify "approved", "not approved" and "approved with comments", then the workflow is branched based on the value of this field.

Properties

Transitions Each transition specifies a transition and an XPath expression. The transition is the name of the transition to follow if the expression evaluates to true. The XPath expression (eg "field_name<1000") specifies what to test.

Transitions

XPath expression For each XPath expression a new transition is created, the first transition with a true condition is fired.
Default If no conditions are met then the default transition is fired

Did you find this article helpful? Comments on this page are welcome and can only help us improve the quality of our documentation.
© Ant Organisation Ltd, 2003