on 06-15-2015 3:24 PM
Hi ,
This issue happened in Prodution.
There is workflow based on incident life cycle. In that at 2nd approval when user tried to complete the WI from Portal, some error poped-up on his screen and in the backend that particular WI went to Cancelled(Logically deleted status). Now I don't know what to do with this Cancelled status. Browsed few links where in most it was mentioned nothing can be done with this Cancelled WF. I need some solutions for this. Kindly help me .
Below some screen-shots the same issue.
ACTIVITY step is synchronous with a terminating event WORKITEM_COMPLETED.
Please reply APAP, as prod issue.
Regards,
Soumya
Hello
As per SAP Best Practices, when the object instance is not longer applicable - Deleted, cancelled, then linked workflow instances should also be cancelled or logically deleted.
In your case, the approval task (along with main WF instance ) got logically deleted (cancelled) . If you look at the workflow template design in SWDD, you will find a event (marked for cancelling workflow) in the go to Cap icon->Version independent Tab -> events . Now if you look at SWEL trace, you will see that this event was triggered at the same time when the workflow instance and approval task got logically deleted. This is working as designed and I dont think there is any issue. Share some screen shots of Version independent Tab -> events
You should ask the Approver to refresh the Inbox.
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is nothing you can do for cancelled work items.
Your options are either:
1) Restart the workflow from beginning (for example with transaction SWUS) or
2) Handle the rest of the business process without the workflow. For example try to instruct the user to open the relevant application to "review and complete" and do the job.
Since I don't know the specifics of the your scenario, I cannot say which one of the above alternatives is the correct approach to choose.
Regards,
Karri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, it is nearly what I meant. You should provide the user the link to the application to complete his job "complete review". There is nothing you can do for the work item. You cannot execute the work item. Its status is cancelled, and I can see from your screenshot that the whole workflow has been cancelled. You can do absolutely nothing for this workflow.
There is always a possibility that everything is working as it should. Maybe there is a valid reason why the workflow was cancelled. (Or perhaps a new workflow has started for this same object, and the old one cancelled. Or perhaps the whole object has been deleted (or it somehow obsolete). I am just guessing here, because I don't know the specifics of this process.)
Regards,
Karri
Hi,
That might work. But if we go for this there are chances that user can ask for the same soln everytime this issue is raised. And asking top level users to this doesn't sound good.
So for now we have asked the user to regenerate the scenario again in Production as it has not been escalated to higher level.
You have any suggestions to go for the real cause of this issue, bcaz we dont want this to happen again. And this sceane is raised to SAP also but didn't get any helpful reply from them.
Regards,
Soumya.
1) Read the technical workflow carefully. Find out the reason (=messages), why the workflow was cancelled. Most likely the relevant message is either in the "current" work item, or the top-level (parent) work item. What do the messages say?
2) Next time it happens, ask the user to take a screenshot of the popup he is getting. Maybe it is some kind of self-explanatory message ( perhaps not for the user, but for an application/WF specialist it might be).
3) See also the incident object in the system. Is there something wrong with the object?
Regards,
Karri
Also, because the whole workflow is cancelled, I assume that there is defined a terminating/cancelling event for the workflow template. This can be seen in the basic data (the hat button) in the workflow template. What is the possible terminating or cancelling event? If you find this out, then could start looking why the event gets triggered.
Regards,
Karri
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.