We have installed the SuiteApprovals Bundle.
All setup is done and we are testing now with the SuiteApprovals - Approval Workflow.
In the workflow there is a step ‘State 2: Get Approval Rule’ to get the approval rule.
After this the workflow goes to step ‘State 4.2: Pending Approval’ where the approver has to approve the vendor bill.
We have a situation where Approval Rule A with approver A is fetched but during approval it turns out that the Vendor Bill is incorrect and should go to another approver B.
Approver A in that case rejects the vendor bill. After that the workflow step is ‘State 5.1: Rejected’.
The Vendor Bill is changed and updated to make sure that the data is different and now should go to approver B based in Approval Rule B.
After pressing the resubmit button the workflow step is ‘State 9: Resubmit’.
Our expectation is that since the vendor bill is changed and normally should go to fetch Approval rule B and go to approver B for approval.
However from workflow step ‘State 9: Resubmit’ the workflow goes directly to workflow step: ‘State 3: General Limit vs Total Amount’.
It does not pass to workflow step ‘State 2: Get Approval Rule’.
The result is that still the old Approval rule A applies while the vendor bill is itself is updated.
How can we make sure that in this case the workflow picks up the other approval rule and is send to the correct approver?
As an alternative I tried to copy the standard workflow and create a custom workflow where I made changes. However this custom workflow is not working with the suiteapproval customization since the workflow is stuck in ‘State 1: Entry’ and does not go any further.