on 2012 Sep 05 10:42 AM
Hey Workflow experts ..
I created a custom workflow to generates an approval decision for any new created PM order which is working fine .
i have 2 small issues one of them is if can i add an option in one of the the User Decisions to display 'to be released order' as one of the decisions (Approve - Reject - Display ) PM order from WF inbox .
The other issue can I stop the user from releasing the order until the Manger approves the created order ? I red something about deletion indicator is it the same thing .
Regards
ABAP
any idea how can i loop back to the workitem ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Problem with your flow is that if the manager clicks display, the workflow completes and s/he no longer has the option to approve. So you need loops and stuff. But there's a simpler way:
Copy the decision to your own task (use button left the task ID in the WF builder's step screen).
Managers can click on it as many times as they like while keeping the decision in their inbox.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i thried secondary method nothing shows i even debugged when it was one of the user decisions (Display order) the order is passed correctly .. but if there is no order no i get the first screen to enter the order its seems like it running in background ..
for 2nd if I use Wait for Event step before release step in the workflow and trigger event after manager approve the order in your workflow , will that prevent any user from releasing the order throw IW32?
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.
Can you post the graphical Workflow log as well? Also, for testing, check the confirm end of processing button, this will help you to see if it is skipping right trough your display step.
From the log you posted it is not visible whether the Workflow made it to your step, or past it, whether the agent was correctly assigned etc.
Also, instead of putting the display step in the decision, maybe try adding it before the approval step.
Not perfect, but much easier, the Superior first displays then approves.
Lastly, can you run the Display method manually? The problem could be Delegation(Probably not, but worth a look)
Hi,
You can add outcome to User decision step.
For the 2nd case you can use Wait for Event step before release step in your workflow and trigger event after your manager approve the order in your workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In response to your first question. The deletion indicator will be set after the rejection, meaning that it will be deleted if rejected. But it will still have posted first. You just need to find the field for the deletion indicator for the BO and do a container operation for it after rejection.
User | Count |
---|---|
61 | |
11 | |
7 | |
7 | |
7 | |
6 | |
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.