!--a11y-->
1.2.6 Activating the Start Event and Setting
Up Type Linkage for the Process 
If a user starts a process in the portal using the start application, he or she fills out a form and sends it to the next processor. The start application creates a process object and saves the data that the user entered to the process object. The process object triggers the event TRIGGERED for class CL_HRASR00_WF_PROCESS_OBJECT.
This part lesson enables the workflow template ZTWS to react to this event in the system client in which it is used.

You must perform the type linkage in all clients in which you want to use your workflow template.
● You have set up the standard settings and basic settings for the SAP Business Workflow. For more information, see the Implementation Guide for SAP NetWeaver, by choosing Application Server ® Business Management ® SAP Business Workflow.
● You have defined the triggering event for the workflow. For more information, see the Defining a Triggering Event for the Workflow lesson.
1. Open your workflow template in the required client.
2. Choose the Basic Data function.
3. Choose the Version-INdependent (Task) tab page.
4. Choose the Start Events tab page.
5. Activate the type linkage.
Do this by clicking on the symbol in the Active column in the line in which you specified class CL_HRASR00_WF_PROCESS_OBJECT and then save your entries.
The symbol changes its shape to a square and its color to green.
6. Save your entries.
7. Choose Back and activate your workflow template.
8. Choose transaction SWETYPV (Define Event Type Linkage), or from the SAP Easy Access screen, choose Tools ® Business Workflow ® Development ® Definition Tools ® Events® Event Linkages ® Type Linkages.
9. Select the following entry:
Object Category |
Object Type |
Event |
Receiver Type |
ABAP class |
CL_HRASR00_WF_PROCESS_OBJECT |
TRIGGERED |
<technical ID (WS*) of your workflow template> |
10. Choose Details.
11. Enter HR_ASR_CHECK_EVENT in the Check Function Module field.

You must enter the check function module HR_ASR_CHECK_EVENT as described here.
12. Leave the default settings in the other fields.
13. Save your entries.
