Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Sub workflow type tasks are useful for starting a new instance from the same process. Main and the sub workflows use the same XML. When this option is selected on the module page, a form comes to hand consisting of the options below.

Pool

Select a pool to trigger a task (sub workflow) from.

Task

When pool is selected, its tasks are listed in this dropdown. Select one to trigger.

Mode

There are 3 options listed in the dropdown; 

Create child instances and continue

With this option, after the sub workflows are created, the main workflow continues to next task routed from the action selected.

Synchronize child instances and continue

If you choose this option, the sub workflows created can be synchronized by the main workflow. By this synchronization, whenever the main workflow's parent task is visited again, all related sub workflows can be updated according to the XML. For example assume that you created 2 subworkflows and then deleted one of them from the XML. When main workflow returns to that creator task, the sub workflow related with the one that was deleted from the XML will be terminated.

Wait for all childs to complete

All of the sub workflows must be completed in order for the main workflow to continue to next task(s). Until all its children is completed, main task waits on Join state.

XPath

Use this text box to specify the node name to be regarded to create the sub workflows with.

Condition

You can specify a condition to specialize the node selected on the previous option.

Row Id XPath

If you are going to use the synchronize feature from modes, write the name of your Id node which is located under your XPath, in order to be checked to update the sub workflows properly.

Sync Data XPath

If you wrote down a row id xpath above but yet it is not enough to indicate the updated sub workflow's data on the XML, specify another node for synchronization.

 

 

  • No labels