!--a11y-->
Activity 
You define or process an activity in the following cases:
· If you want to add a new activity to a workflow definition.
· If you want to change an existing activity with regard to its agent assignment or its deadline monitoring.
· If you want to analyze a workflow definition.
In the
workflow definition an activity is represented with the symbol
.
One of the following prerequisites must be fulfilled when you create a new activity:
· You know the task or workflow to which you want to refer in the activity.
· You know an object type and one of its methods that has the required function.
During definition of an activity, you can use the method to find a defined task. If there are no appropriate tasks, you can define one from the workflow definition.
The maintenance of an activity is spread across several tab pages. You can process the properties of the activity here, for example:
· Task selection
· Data for deadline monitoring
· Outcomes
The order of the tab pages defines the recommended sequence of processing. Start the definition of a new activity on the tab page Control, since certain entries are made automatically on other tab pages when the task is entered.

On the tab page Control, you make all the entries required to define an executable activity in a sequence.
The system inserts a step of the type Activity into the workflow definition. To ensure the consistency of the workflow definition, all active outcomes are inserted with the actual step. The system adds a branch to the workflow definition for each outcome. To ensure the consistency of the block structure, all branches created are brought together before the next step of the workflow definition.
At runtime, an activity is represented with a work item of one of the following types:
· Dialog work item if the activity references a task with dialog.
· Background work item if the activity references a task processed by the system without dialog.
· Workflow work item if the activity represents a workflow.
The Change data tab page displays when the step was created and last changed, and by whom.