Task Block

This Help topic refers to the following editions:
þ
Enterprise þ Professional  þ Small Business
.

 

Overview: Creates task instances for users based on its task definitions.

 

Allowed inputs: many

Allowed outputs: many (restricted to status list)

 

Description:

The task block is one of the more important block types in a diagram. With task block you can specify task definitions to be created for users. When the execution flow reachs a task block, it creates task instances for each task definition.

 

The task block itself is nothing but a set of task definitions. So, to use the task block, just create one or more task definitions and set the task definition properties.

 

The workflow execution will stop at the task block until all task instances are finished. A task instance is finished when its status change to a completion status.

 

After all task instances are finished, the execution flow continues, according to these rules:

 

Task block has only one output

The execution flow goes through that path.

 

Task block has two or more outputs

Each output transition must be labeled with the name of a completion status. The execution path goes through the transition which is labeled with the same text as the task block output, which is the completion status of the task instance, i.e., if the task instance was completed as "approved" (a valid completion status, for example), then the execution path goes through the transition labeled "approved".

 

If more than one task instance was created by the task block, either from the same task definition or from different task definitions, then the task block output will be the most common completion status among the task instances. For example, if two task instances finishe as "rejected" and one task instance finishes as "approved", then the task block output will be "rejected" and the execution path will follow the transition labeled the same.