Thanks all
Finally I was able to find out the root cause of this issue with some help
My user didn't have permission to trigger workflow so event was not getting generated
This function was useful
SAP_WAPI_CREATE_EVENT_EXTENDED
I have another question . How do we pass data with this function