Task conmpleted but workflow going into error
I have a workflow that I am supporting where a task is completing succesfully but an error is occurring "processing the results"of that task, where the error is that it is failing to find a successor to this step (task).
Once the task is complete the workflow should in fact finish.
The developer has used an event of an abap class he developed as the terminating event for this task. When I inspect this class I see that the event has no event handler and in SWE3 the event receiver is set to WORKITEM.
Can somone help me understand how the event of the abap class is meant to bring about a complete logical end to the workflow? And hopefully explain why this workflow is going into error currently!
I JUST HAD A THOUGHT. What raises the terminating event ?
If I use swe_event_create to create the event, what is the OBJTYPE when trying to trigger an event of a class ( ZCL_INVOICE_WF in this case)?
Edited by: Ross Goodman on May 27, 2011 1:21 AM
Edited by: Ross Goodman on May 27, 2011 3:57 AM