You are facing a classic problem: You are using events to start the workflow, but then in the same report/code you want to know which workflows/work items were started.
Yes, exactly, so that with all those work items id's , i can send email to user with attachment.
There is no easy solution for this (especially when you might be creating 50 work items, or so).
Why? Please let me know the difficult one.
Also Please tell me why i am not getting any entries in SAP_WAPI_WORKITEMS_TO_OBJECT or in SWI6.