Hi,
According to our requirement, we have to send Email to user outlook whenever work item is created.
We have a parallel approval scenario, I am using block(PArForEach) for parallel approval and writing our logic for sending mail in program exit. Followed the blogs in SCN for the same and created a class with interface IF_SWF_IFS_WORKITEM_EXIT and implemented method AFTER_CREATION in addition to IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED. I have put the class name in Program Exit of user decison step.
Now issue here is: even if workitem is generated for approval to three user, only one mail is getting fired through program exit. Do i need to anything more so that our program exit fire mail for each work item created for user decison.Please let me know how to achive this.
Regards
Ajit C