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.
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.
Open the workflow container for your workflow template. To do this, display the
Workflow
Container
menu bar.
The system displays the elements of the workflow container. The standard elements of the container are identified in gray.
Create a new entry. To do this, double-click
Double-Click to Create
.
Enter
PROCESS_OBJECT
in the
Element
field of the dialog box.
Enter the text exactly as written above, in the same uppercase format. This format is required by the system for your process to run correctly.
Enter the following
Name
and
Short Description
:
Name
POBJ
Short Description
Process object
Specify the data type for the container element. To do this, choose the
Data Type
tab page and enter the following values for the
Object Type
indicator:
ABAP Class
CL_HRASR00_WF_PROCESS_OBJECT
Specify the properties of the container element. To do this, choose the
Properties
tab page and select the
Import
indicator in the
Parameter Settings
area.
Choose
Apply
and save your workflow template.
The process object is specified in the workflow container for data exchange.