on 12-04-2014 9:08 PM
Hi All,
I have terminating Events mentioned in synchronous method EDIT APPR_DOC Business object. Here the appraisal is successfully completed. But the work item is still in Inbox. I can find the terminating Event in SWEL but no receiver FM is there. In the Task the Event link is active.
Would somebody tell me how to solve this ?
Helpful answer would be really appreciable.
Thanks,
Bikash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now if I understand this correctly, the problem is that the object key in your container and the object key of the event are different. They do not match. Your last two screenshots were really helpful.
How does this workflow get started at the first place? If the object key is incorrect in the task container, that should mean that it is incorrect already in the workflow container. And how does it get populated/instantiated there? I guess the APPR_DOC object gets populated from the start of the workflow (through an event?). Are you sure that there isn't anything wrong in this part?
One approach could be to check how the event gets created, and if there is something suspicious (where does it get the 4 last digits).
By the way, have you activated the outcome for the terminating event for the step in the workflow builder? It's in the outcomes tab in the step editor in the WF builder.
If your solution is standard or "nearly standard" (workflow gets started from standard application, the event gets triggered from standard application etc.), you could check possible OSS notes of this area.
Kind regards,
Karri
Hi Karri,
In workflow container i find the missing last 4 digit too. That's why i am unable to find out how the workflow get started then with missing digits then.
I have been already activated the outcomes and raised an OSS message for this.
Will update you as soon as i get any result.
Regards,
Bikash.
Hi All,
I think i found the exact problem. When the Event is triggered the value of key fields PlanVersion, APP ID and Partid is passed to Workflow container. But when i see the Workflow container i cannot find the Partid in ObjectID but l can see it when the tree is opened.
Please help me to solve it.
Regards,
Bikash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bikash
As mentioned by Rick and Karri - You need to have the same instance in your task (the instance for which the terminating event is triggered) AND you need to bind the _EVT_OBJECT from the terminating event to the TASK instance in the binding (Link the two instances to end the correct workitem).
Regards,
Modak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which is/are the terminating event(s)? Are the events of APPR_DOC or something else? In any case you need an instance of the object of the terminating event in the task (see it in the workflow log container). Most probably you have an instance of APPR_DOC in the task container. If you don't have an instance, then you are most probably missing the binding from WF container to the task container. If you have an instance there, then check what is its object key. And as Rick said, then check the object key from SWEL, and see if it matches with the object key in task container.
Kind regards,
Karri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karri,
Apologies for late reply.
Yes the Terminating events are of APPR_DOC. I have same object ket in Event and Task Container.
When i create an Appraisal the Terminating event is triggered. When the Appraisal is processed from UWL again the Event is triggered with same Object key but receiver is found.
I have used the SWU0 Event simulation. Under terminated tree i can find my Task.
Would you please help me ?
Regards,
Bikash.
I have nothing to add for Rick's and Modak's answers (just repeating them). Most likely the object instance is not in the TASK container. => Task is waiting for the event, but it does not know for which object. If you were able to open the technical workflow log and the correct work item's container, we could confirm this quite educated guess that the instance is missing. IF this is the case, then you need to bind the object from workflow container to the task container as already said. This should be really straightforward task, if you have some basic workflow development skills.
Regards,
Karri
Hello,
Check in SWEL what key was used with that event. If it doesn't match the workitem then it won't be matched. Also make sure the event was created after the workitem was.
regards
Rick Bakker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.