on 11-16-2009 6:56 AM
Dear experts,
We have situation where we need to restart the workflow after completion - strange isn't...
A multi-level wf: At the top approval level agent rejected and as a result workflow rightly set to completed... Now agent want to change decision to approve...
Therefore seeking your expert advice on how to re-start the completed workflow at that level only...
Best Regards,
Aslam
Use SWUS and enter the WF template number and correctly enter the object key
Populate the wf_initaitor as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Aslam,
Once completed i think it cannot be restarted...?
instead if its for reporting purpose the make the necessary changes at table level.. or if there is certain process after approval then you need to create a new instance... or do the process again which would trigger the workflow and then take the approval.
Regards
Narin.
@ Aslam Riaz
try some thing like this,
1. Get the exact workitem ID from the log , which workitem the manager has approved at the higher level.
2. Now open SE37 and execute the FM SAP_WAPI_ADM_WORKITEM_REDORULE, by passing the workitem ID which you found from the workflow log.
3. Check this time you will find a workitem ID but with the same previous old workitem instacne values....
Please check the post:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thankd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think If you try to start the workflow from SWUS or manually, then a new instanceof the workflow is created right, then how will you confirm that you are trying to reset the same wotkitem status....
what i mean is a new instance of the workflow is created again, which means again a new workitem is sent to approver to approver, but not the old workitem status is modified.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If its the requirement specific to a case then you can trigger the workflow manually by passing the parameters same as of old Instance.
Regards,
Vaishali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.