cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong workflow step after rejection

0 Kudos

we have a workitem which is sent to the Approver for approving the travel expense. (PRAP).in SAPP T&E module (travel and expense)

When the Approver executes the workitem, he has an option to either approve or reject the travel expense.

Approval

After approval of travel expenses, the approver can either be set as complete or cancel. However if the approver cancels it, although it remains in inbox the approver cannot process it further since the Expense has already been approved.

This is fine as per our scenario

Rejection

The issue in rejection is that, once the approver rejects it in PRAP and the task is set as compelte, the workflow triggers an email that the expense has been approved whereas in reality the approver has rejected it. Currently the workflow is only working if the approver cancels the workitem after rejecting it. The workitem also no longer remains in the inbox. We have checked the Branching condition and it is defined properly but nevertheless it seems to only work when the work item is cancelled in rejection scenario

Any pointers on how this issue can be resolved will be useful

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Looks like you have a completion notification going out from the decision task, you need to take this out and put it in the respective outcomes, like add a send mail step under Reject to inform the initiator that the expense has been rejected. Also, check if the task is asynchronous and if yes then make sure the repective terminating events are being triggered.

Former Member
0 Kudos

Make use of the attributes that are provided in BUS2089 Business object.Make use of these 2 Attributes in your workflow Approval status,Settlement status. You need to check what value it becomes when you reject it and accordingly filter it.

<b>

Reward points if useful and close thread if resolved</b>