on 11-16-2011 10:16 AM
i am using Decision step , with 'Approve' and 'Reject' and 'cancel and keep workitem in inbox'.
I am calling a BOR Method and changing the user status to next level of approval.
at some cases like when ever that particular agreement no is locked by other users i want to raise a message in inbox.
for this i checked conform end of processing , so my exact requirement is i want to keep the same decession message as it is like in 'cancel and keep workitem in inbox'
i tried with conform end of processing , i checked with cancel button at that case i am getting only workitem in the Inbox not the whole decision approval message that i got like initially .
Please guide me in completing this task.
Hello,
You could put a loop in your workflow.
1. user decision step
2. call task
3. check result
4. if locked etc then go back to 1.
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.
Thanks Rick Bakker for quick replay .
"1. user decision step
2. call task
3. check result
4. if locked etc then go back to 1. "
i have some restrictions to use Loop .
As business user don't want to refresh the SAP Inbox to know whether the task is successfully completed or not .
So i have to make sure that same decision message has to be appear in the SAP Inbox , just like what happens with cancel and keep workitem in inbox.
when user selects approve , if the same agreement is locked i set a flag otherwise i am allowing to make status change in BOR Method. ( I want to raise a message in workflow )
As i am using conform end of processing , it has cancel button , but when i click on it is displaying workitem not the whole inbox message .
Is there any way i can achive this task ?
Hello,
Is this in SBWP or UWL? if it's SBWP then the refresh will be automatic (if I'm not mistaken).
"As i am using conform end of processing , it has cancel button , but when i click on it is displaying workitem not the whole inbox message "
Not sure I understand this. You want to change the behaviour of the Cancel button? That will not be easy.
regards
Rick Bakker
hanabi technology
Thanks , Rick Bekker
" Is this in SBWP or UWL? if it's SBWP then the refresh will be automatic (if I'm not mistaken) ".*
Its SBWP , now client is happy with the conform end of processing , and using the work item that comes after they hit cancel button at the time of unsuccessfull execution of the method.
At conform end of processing step , Now approver has to be intimated about the successfull change of status or Locked by some user in the Task Description Dynamically . so that they can hit cancel button and execute it later.
Is there any way i can get dynamic text in the task description based on result in BOR method .?
Please help me
Thanks,
brahmam
Hello,
That's not how Confirm End of Processing works, the workitem doesn't get executed until after you click that.
So it would be better if you had the user perform the workitem, check the result and then loop back to the workitem if there's a problem. In the workitem you can make the text dependent on container variables, e.g. to ask them to try again.
regards
Rick Bakker
hanabi technology
User | Count |
---|---|
91 | |
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.