Hi,
Requirement - To send mail when any background job fails.
What we have done - Set a workflow with a mail step. Add ABORTED event of BPJOB object as start event.
Result - Worklfow is never triggered. Event never triggered. No mail.
Already tried following options:-
a. Tried using ABORTED of BPJOB_SMAN. But still no workfllow is trigger
b. Checked SWEL (Event trace). It never shows that any ABORTED event is triggered
c. Checked entry in SWE3 (Event linkage). Entry exist for object BPJOB event ABORTED with following parameters
Object Type BPJOB Event ABORTED Receiver Type WS90000002 Receiver Call Function Module Receiver Function Module SWW_WI_CREATE_VIA_EVENT Linkgae Activated - Checked Enable Event Queue - Checked
d. Tried check in SWU0 (Event simulation) - I could see my workflow WS90000002 in potential task started in green.
I know this sounds familiar to lot of guys but for some reason I couldn't find why this event doesnt work.
Please suggest.
Thanks.