Creating Decision Tasks 

Use

A decision task is only required for steps of the type user decision. You should only create a new decision task if:

A decision task must always refer to the object type DECISION with the method Process .

Procedure

Always create a new decision task as a copy of the standard decision task supplied by SAP. This is task generic decision task ( TS00008267 ).

  1. Go into the step definition of a decision task. A decision task is referenced there in the field Task. If this is task TS00008267 or a copy of this task, select .
  2. Specify a new abbreviation and new name for the task and assign it to a development class.
  3. Process the relevant text types on the tab page Description. The task description is displayed to the recipient when the user decision is executed. For further information, refer to Maintaining Task Texts.
  4. Add the elements that you inserted into the description text as text variables (or object references) to the task container as mandatory import elements. To do this, select Container.
  5. In order for the text variables to be filled with values at runtime, you must define the binding from the workflow container to the task container in the definition of the user decision.

  6. Process the possible agents of your decision task. Choose Additional data ® Agent assignment ® Maintain.