Process for Workflow (CS-CM-SN / Completing a Task)
Purpose
If a task has been created in a service notification, a workflow is started based on the template SM Complete Task.
Workflow Structure
The workflow structure has several parallel branches to an activity and several wait steps (see graphic). The structure is defined so that the system only has to process one of the branches. The standard task is specified in the activity.
Determination of Agent
To determine the agent, the system searches in the service notification for the person responsible for the tasks. If no person has been specified for this task, then the system notifies all the people who are assigned to this standard task.
The agent is determined using a role resolution. The role
178 SM_TASK_ROLE ( standard role for service notification) is defined as the default role for this task.Result of Processing and Termination of Workflow
The processing of the work item terminates the task and the entire workflow. The workflow is also terminated if one of the waiting steps occurs.
The terminating events Deletion flag set, Person responsible changed and Task completed can also occur outside of the workflow process.
Once the task has been processed, it obtains the status Task completed.