Hello,
can’t see what goes wrong here. I have a work item waiting for an event. I trigger the event for with the matching object key, but the event finds no receiver, and nothing happens.
To elaborate,
the asynchronous ‘Document review’ task has terminating events REJECT etc. from my ABAP (business) class ZCL_PROL. On the terminating events tab:
_WI_OBJECT_ID CL ABAP Class ZCL_PROL REJECTED
I trigger the event using cl_swf_evt_event=>raise and from SWEL I see that the event has been created correctly, for the right object type and object key.
On the other hand, from SWEINST I see that the ‘Document review’ work item is registered for the event. Table entry
CL ABAP Class ZCL_PROL REJECTED WORKITEM 10000000000392 000000045550
The class ZCL_PROL and the object key 10000000000392 in SWEINST are identical to what I see in SWEL.
The method FIND_BY_LPOR must be fine, as the wf has proceeded to this point. And no issues to be seen in SWEQADM.
Now, what goes wrong? Why doesn’t my work item react to the event?
Message was edited by: Arto Pihlaja