Hi,
My requirement is to send Work item as executable file in email after creation of work item.
I am using program exit in Work flow Task. As suggested i am using IF_SWF_IFS_WORKITEM_EXIT interface in my custom class and using event 'swrco_event_after_creation'. This is giving newly created work item. i have copied 'RSWUWFML2' and changed it to accept work item and sending email to Agents of that work item which is working fine when i send existing work item.
Issue is, in Class after event swrco_event_after_creation, work item number which is created is still not available in table 'SWWWIHEAD' due to which Email is not going.
Is there any other Event which i can use which is triggered after work item is saved in database ?
Thanks in advance.