Prerequisites
You have created a role based on the
RH_GET_STRUCTURE function module using your role container.To "provide" the role container with the agent that represents the starting point of role resolution, you now define binding for the role container:
The workflow container and task container include system fields that are always available. In the standard system, they are filled by the workflow system. These container elements often include the information required as role parameters and can, therefore, be used as a source for binding. The following container elements include information on users in a C14 field in the
<USName> structure.Procedure
The procedure is explained using the example of an "approve leave" single-step task. This task must always be completed by the manager of the person who submits the request. Therefore, you want to enter the manager_of role as the default role, and then integrate this customer task as an activity in a workflow definition.
Org_Agent |
&Applicant& |
(Role container) |
(Task container) |
APPLICANT |
&_WF_Initiator& |
(Task container) |
(System variable in workflow container) |