on ‎2014 Sep 30 9:42 PM
Hi All,
I have a workflow currently setup for PR release. When PR is created, based on release strategy user gets an email in SBWP. When user clicks on workitem in SBWP , it opens ME54N and user can release the PR. if user will not release for some hours then deadline monitor will trigger and reminder email and new workitem will be sent to his inbox. And once user release PR, the work item will be deleted from his inbox.
Now the issue is some user release the PR using tcode ME54 manually. in this case the workitem is not getting deleted. and the user still gets the reminder emails through deadline monitor. Is there any way to map ME54 the same way as ME54N. ? Any hint solution thoughts ?.
Niki
Request clarification before answering.
Hi Niki
When the user Releases outside the WF, check SWEL (first switch on the trace using SWELS) for the events triggered.
use that event in your workflow in a parallel fork (1 of 2 fork) . One branch of the WF should do the normal approval process + the deadline monitoring and the other fork branch should wait for that event. Remember to have an instance of the BO (of the event) in your wf and bind the _EVT_OBJCET back to the WF (to that BO instance)...else the wait for event will not work.
But there is a catch here..... I am sure the same event will get triggered when releasing from within the WF as the transaction remains same; then both branches of the fork will be running against each other to complete the fork (the approval branch via the normal approval process and the wait event branch via the event from release). So, keep your steps which are AFTER the approval outside of the Fork.
Regards,
Modak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.