on 08-13-2007 11:05 AM
Hi,
There is this task to determine next approver in the standard SRM workflows.
But when I run the task while the work item is in approval in somebody's inbox the task gives me the current approver in the approval chain and not the next approver...has anybody faced this problem and used this task previously?
Regards,
Vijay
Vijay,
Hi. I have used this before. My understanding is that it is called before the WI is added to the approver's inbox.
There is a buffer in the workflow containtainer that get's updated on approval (I think approval level). If your WI is still with the previous approver the WF container will have the current approval level populated and you won't be able to test with a direct call to DYNAMICNEXTAPPROVERGET, unless you modify the WF container buffer either in debug or in SWIA.
I have found so many other ways of testing the get next approval process. The one I use most is a break-point in our badi BBP_WFL_APPROV_BADI. If you haven't implemented the BADI try FM BBP_WFL_DIN_APPR_CONTAINER_GET. I know this works for n step approval, but can't vouch for other WF's.
Cheers
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.