I need to enable the Standard Workflow PE_APPROVE01 (Approve Employee's Attendance Booking) which needs to be triggered once an Employee requests for a Training via Trnx: PV7I.
I enabled the event linkage via SWETYPV and also the binding in the Triggering event of the WF.
Event REQUESTED of Object PDRELA_025.
But, when I execute the Trnx: PV7I and debug, I see event CREATED of Object ATTENDANCE being triggered in the FM SWE_CREATE_EVENT.
Also, I need some information on the Table T779W which stores rules(FM to be executed in a particular scenario). For all T&E, object PDRELA_025, I see the rule as "HR_EVENT_TRAINING_NOTIFICATION".
This Fm is called via PV7I and this FM calls SWE_EVENT_CREATE which is using the event CREATED of Object ATTENDANCE.
Do I need to change this setting, and create my own FM to trigger the Event REQUESTED of Bus Object: PDRELA_025?