on 09-17-2014 4:26 PM
Hi All,
I have an asynchronous back ground method with terminating events. All the terminating events are triggered. But the task is still not completed.
Hi Bikash
What is the key of those events? Can you see the Key in SWEL? Do we have the same BO/class (of the event) in the task with an instance of the same key (same key: including spaces, leading zeros..)?
How Terminating events work:
Hope I am clear
regards,
Modak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Modak,
I need to analyze more to answer your questions.
Actually we have standard workflow(Open Text) and the above problem happens very few times.
Can you please way me out, how to see:
Thanks a lot.
Bikash.
Hi Bikash
In SWEL, when you see the terminating event, double click and you can see the "Object key"
The workitem which you are expecting to terminate with this event should have the same BO with an instance and the instance should have the same key.
If it's still not clear, please provide the following:
1) Screen shot of SWEL - event list screen and the detail screen of the event which you are expecting to end a workitem - need to see if the event has a receiver or not and what is the BO + Key
2) Screen shot of the WI container which you are expecting to end - the Same BO should be visible with an instance and the key
3) screen shot of the step history of that step from technical WF log
Regards,
Modak
Hi Modak,
I have added the screen shots below for your Investigation. First one is the successful and 2nd is the problem one.
But i can't find any Event in SWEL.
Is there any other way to find out the terminating event triggered ?
Successful one's step history.
Container.
Unsuccessful one's step history.
Container:
Terminating Events of Task.
Hi,
Try on thin, raise the terminatin event from SWUE and check your asyncrounous task completed or not. If completed, that means your terminating event not trigger , thats why it is not completed.
In your screenshot there are lot of terminatin event , any one of the event need to trigger , then your asynchronous task will complete
Hi Bikash
In your screen shots, the successful one got over by event RELEASED of Object /OPT/V1001.
Make sure that this is carried out in the system for the unsuccessful one. Is there any DB table which confirms that the Key of this BO was ACTUALLY released or not? (I do not have a system with this BO and cannot verify myself).
Users may say "that all processes are carried out" , but confirm it from the system.
If it is released in DB, can you check if there are any associated settings?
Regards,
Modak
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.