Error with TriggerBusinessEvent
Hi ,
I need to trigger a work list entry from Application Package PeopleCode written inside a handler for reading JSON messages with the help of RESTful services.
Within the application class I have managed to write code to read incoming messages and post it in the system.
We need to generate a work list entry for each such insert so that the super users can review each entry.
But when I try to trigger workflow it fails giving me an error.
The same works if I use the same code and function i.e. TriggerBusinessEvent on the workflow event of the underlying component.