Task Definition

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

 

A task definition specifies a task to be created for a user. It's not the running task itself, but a specification for the task.  If a workflow is already running, changing a task definition will not change the workflow.  Only new workflows will use the changes made to the task definition.

 

In the task definition you specify the subject, task name, description, the user, a list of valid status, and other properties. A task definition is always "inside" a workflow definition. One of the actions you can define in a workflow definition is generating tasks, and the task definition is part of the action specification.

 

The task definition appears in the Diagram Designer as below:


For example, in a workflow definition for order processing, you might want to create a task for the manager to approve the order. To change the task definition block in the Diagram Designer, double click the task block.  In this case, the task definition would be something like this:

 

Subject: Order approval

Description: Please approve the order [OrderNo]

User: Manager

Valid Status: Waiting approval, approved, rejected

 

The General tab will be filled out as below:

The General tab contains the following areas:

 

The Status tab will be filled out as below:

The Status tab contains the following areas:

 

 

The attachment tab is displayed here:

 

The Attachments tab sets the permissions users assigned to a task will have to show, remove, insert, or edit attachments.

 

 

The Fields tab is shown as below:

The Fields tab will allow the task to have variables available to the user, where they can view or change the variable values to use for your business logic.

 

Multiple Tasks

The task block also allows multiple tasks to be in the block.  To add a new task to the block, click the Add button in the top left.  You can configure the additional tasks in the same way the first task was configured by selecting the new task in the left pane and using the tabs mentioned above.

**Additional tasks will not allow the workflow to route in a different direction than the completion status of the first task.  These tasks can be used for modifying variables, or to have other work completed before the workflow is completed.  The workflow will not complete until all tasks have been completed, but the direction of the workflow will be only determined by the completion status reached by the first task in the list.