on 2011 Dec 19 11:30 AM
Hello Every body,
I set up a workflow for payment release in FI and I'm using this rule to determine the agents, in which case this workflow has two levels of release.
Then in step "activity" let the rule set and 00400125 | Job Property | -> | attributes | I left as "general purpose". In the function I made a PR_WF_ACTOR1_DET improvement through customer-function to read a table z, containing approvers. The table fields are: WFVAR FRWEG STUFE HWBIS, which are filled correctly by function.
For the tests I'm watching the workitem is being directed to for the two approvers. My need is that the workitem is intended only for the first approver, and if it approves, then be directed to the second.
Any help will be very welcome.
JB
Hello,
One way is to put the agent determination in a separate step (e.g. if it's an AC rule then create a method to call that rule).
Then, as suggested above, use a loop to loop through the agents that were returned, only continuing the loop after each approval.
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi- My understanding is- you are determining agents using std. Rule and Rule returns 2 approvers . So parallely 2 approvers are receiving the workitem
If you need to go with sequentially (i mean after approved by 1st approver then 2...), then you need to create 1 activity step and call the std. FM by giving the rule number and get all the approvers
Now you could make use of Loop step type or Block and send the FI document in sequentially
FM: RH_GET_ACTORS will give all the agents based on the Rule number and Rule container's value
Vinoth
Edited by: S Vinoth on Dec 19, 2011 6:31 PM
Edited by: S Vinoth on Dec 19, 2011 6:34 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.