cancel
Showing results for 
Search instead for 
Did you mean: 

Keeping Inbox decision message when click on cancel conform end of process

former_member638879
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

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

former_member638879
Participant
0 Kudos

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 ?

former_member185167
Active Contributor
0 Kudos

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

former_member638879
Participant
0 Kudos

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

former_member185167
Active Contributor
0 Kudos

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