The issue is when the workitems are send to outlook thru RSWUWFML2 for sender address the system is <b>taking the address from which the report RSWUWFML2 is scheduled</b>. Say if I schedule this report from user id X, then in outlook i will get a mail with sender adress as X. But it should be either general id such as WF-BATCH or the user id from which the transaction was done.
Kindly suggest if i am missing anything.
This is correct behaviour. So if you want WF-BATCH to be the sender, simply schedule the job with WF-BATCH as user.
I am not sure what you mean by "the user id from which the transaction was done", but I guess you are thinking e.g. about the user who created a purchase order that needs to be released. This can be achieved by using a SendMail step. The purpose of the RSWUWFML2 report is to notify about work items, which is not really something the user creating a purchase order would to.