Show TOC

 1.2.3 Creating a Container Element for the Process Object


In this part lesson, you specify the process object in the workflow container so that it can exchange data with your workflow template while the process is running.

Note Note

When an employee starts a process in the portal, the start application creates a process object. The process object triggers the event TRIGGERED for class CL_HRASR00_WF_PROCESS_OBJECT in the back-end system. This event starts the workflow. For your workflow template to react to the TRIGGERED event, perform the subsequent lesson Defining a Triggering Event for the Workflow .

End of the note.


  1. Open the workflow container for your workflow template. Access the Workflow Container area in the bottom left of the Workflow Builder .

    The system displays the elements of the workflow container. The standard elements of the container are identified in gray.

  2. Create a new entry. Double-click on the < Double-Click to Create > row.

  3. Enter PROCESS_OBJECT in the Element field of the dialog box.

    Caution Caution

    You must enter the element using this format for your process to run correctly.

    End of the caution.
  4. Enter the following Name and Short Description :

    • Name : POBJ

    • Short Description : Process object

  5. Specify the data type for the container element.

    1. To do this, choose the Data Type tab page.

    2. Set the Object Type indicator.

    3. Select the ABAP Class entry.

    4. Enter the class CL_HRASR00_WF_PROCESS_OBJECT .

  6. Specify the properties of the container element.

    1. To do this, choose the Properties tab page.

    2. Set the Import indicator in the Parameter Settings area.

  7. Choose Apply and save your workflow template.