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

Action: N-way split

Action to launch multiple sub-workflows
Path: Root\Workflow\Standard actions
This action allows multiple sub-workflow to be launched based on a users parameter. Each sub-workflow is launched with sub-parameters, the value of these sub-parameters are mapped from the main case and the main parameters (based on the mapping properties).
The activity waits for all the sub-workflows to finish and then maps the sub-case back to a group in the main case (again based on the properties of the activity).

Common uses

Review Allows the same "review" workflow (eg document workflow etc) to be used but allow the requestor to specify an arbitrary number of reviewers. Each of these reviewers then feeds back their comments which are compiled in to the main case.

Properties

Workflow definition Allows selection of the workflow definition which is used for the sub-workflow. The activity stores both the workflow definition and the version of that definition. If a new version is produced then click update in order to use the latest version.
Users Select a field from the parameters of the main workflow which has converter type of "users". This is used to specify the users, for each of whom have a workflow launched.
From main case to sub-parameters Allows for multiple mappings to be defined from the main case to the sub-parameters. These mappings are specified in xpath notation. If a $ symbol is preprended to the from mapping then the mapping is made against the main parameters rather than the main case. These mapping are used before starting each of the sub-workflows.
Group Select a group from the case of the main workflow which has to which all the sub-workflows will be mapped.
From sub-case to main case Allows for multiple mappings to be defined from the sub-case to the group in the main case. These mappings are specified in xpath notation, but are relative group node in the XML. These mappings are used after each sub-workflow is finished.

Transitions

Next Transition is fired after all the sub-workflows have finished and the sub-cases has been mapped back to the main case.

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