Hi,
I have two custom PO approval workflows - each of them gets triggered when one uses a specific custom PO form to enter the PO.
So, if a user uses Expense PO form to enter PO then it will trigger the Expense PO Approval workflow.
And if a user uses a Item PO form to enter PO then it will trigger the Item PO Approval workflow.
The problem happens when someone enters a PO using the Expense PO form when they actually wanted to enter an Item PO. So, they switch the form from Expense PO to Item PO form and I noticed the Expense PO workflow stays in addition to the Item PO workflow.
The Expense PO workflow does not get canceled automatically and we have to manually it.
I was wondering if we can auto-cancel an existing workflow somehow if the record go in another workflow?
Or if there is any better way to handle this use case?