Start of Content Area

Background documentation Workflow System Elements in the Task Container  Locate the document in its SAP Library structure

The task container holds some container elements as workflow system elements. You cannot edit these but you can use them. The workflow system assigns values to the workflow system elements as standard.

To avoid naming conflicts, the workflow system elements begin with "_".

Container element

 

Meaning, use

_WI_Object_ID

Export and import

Object reference to the object processed in this work item and on which the method is executed.

For work items in which an object is processed, the object manager automatically accesses this reference and makes the object available in the program of the object type. The binding or initial value assignment must ensure that there really is a value in this element.

For work items in which an object is created, the object manager enters the reference to the object created in this element after it has been created (for synchronous object methods). From there the value can be imported to the workflow container.

In the Business Workplace, the default attribute of the object referenced here can be displayed in the Object column for each work item.

_WI_Result

Export

Value of the result of the activity (only for tasks that refer to a synchronous method with result).

The following must apply for values to be assigned to this element:

  • The method to be executed must be declared as returning a result in the object type definition.
  • The container element RESULT must be assigned the relevant value in the implementation of the method.

Modeling is generally carried out in the workflow definition on the basis of particular instances of this return parameter.

_WI_Actual_Agent

Export

Actual (last) agent of the activity.

The user name is a fourteen-character field in the structure US<Name> .

This value is available for the binding from the task container to the workflow container and can, for example, be used for a situation involving 'n' persons. The actual agent of a step can be appended to the variable for the relevant excluded agents in the workflow container using binding.

_Attach_Objects

Export and import

List of attachments for the work item.

Each attachment is a reference to an object of the type SOFM ( Office document).

The workflow system automatically puts the attachments of a work item into the workflow container and enters them from there into the containers of the subsequent steps.

Note

This element is only used internally by the workflow system.

_Adhoc_Objects

Export and import

List of objects added ad hoc.

These are references to objects of any type.

The workflow system automatically puts the objects into the workflow container and enters them from there into the containers of the subsequent steps.

Note

This element is only used internally by the workflow system.

_WI_Group_ID

Export and import

Object reference as grouping criterion.

This container element can be assigned an object reference via binding. The default attribute of this referenced object is available in the Business Workplace in the Group column as a sort and filter criterion.

The specification of a _WI_Group_ID enables single-step tasks that process different objects (= different object references in _WI_Object_ID ) to be put in a common context.

_Workitem

Export and import

Object reference to the work item that represents the task at execution time.

The indicator Import is set for a container element of the task container if it can be filled before the object method is called. The indicator Export is set if it is available after the object method has been executed.

Caution

The container elements _WI_Object_ID and _WI_Result of the task container are provided with values from the method via an internally programmed binding .