Wrong workflow step after rejection
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.
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
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