on 03-29-2007 7:47 AM
hi,
I have a workflow with a task that is asynchronous and it terminates on an event.
The issue is that when this event is triggered all the workitems of that particular task of other workflows get terminated and not that particular workitem of the workflow which is responsible for calling the terminating event.
Regards,
Sukhwinder
hi,
have you used a key for the event.
i.e. if you have an BOR with key fields then when you call the event only that particular task will be terminated whose key matches with that of your object.
keyobj = wa_empret.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'ZHR_EMP'
objkey = keyobj
event = 'SEND'
commit work.
try calling the event passing the key and create keyfields for your BOR object
ZHR_EMP.
Regards,
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.