on 06-03-2011 12:47 AM
Hi all,
SRM 5.0 ECS SP12
We are using a custom workflow similar to n step approval wf for shopping cart.
ISSUE:
There are few SCs which have been released and their corresponding POs created.
After few days, the work flow of the SC triggered again creating a new instance without the user making any changes to the SC.
The SC went to the same set of approvers for approval but when they try to approve the SC, an error message comes up "Shopping Cart has since been approved. Changes no longer possible".
Could anyone help me out as to how this can be possible, since once the SC is released the workflow for the SC cannot be re-triggered?
Is this is a std bug??
Please advise.
Hi-
You need to identify the root cause, why the new workflow instance got triggered for the same SC number, probably by analysing the workflow log and other things.
As a workaround, you can restrict the second workflow instance by using check FM. Inside the FM, check if the follow on documents (like PR..) has been created for the SC, then raise exception, which will not trigger the second instance of workflow for the same SC number.
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi:
There are lot of threads on how to use check FM, searching will give a lot
You need to develop a FM with proper interface parameters (Ex: SWB_CHECK_FB_START_COND_EVAL where SAP uses for WF- WS10001011) so workflow will accept this as check FM. Then inside this FM, check if the follow on documents exists , then raise an exception which will not trigeer the workflow.
And you need to link your check FM to your custom workflow in SWE2.
Vinoth
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.