AP Invoice Approval - auto approve after 5 days
Requirement: Auto approve invoice after 5 days for invoices less than $1000.
If the requester has not actioned the invoice workflow after 5 days and the invoice amount is less than $1000 , we would like to auto approve the invoice so payment can be made.
I was thinking about stopping the workflow (ie. Withdraw) through an API, update a DFF with a flag and then restart the workflow with the rule to auto approve if the flag was set. I'm not able to find an API to intercept the workflow process. Is there one?
Any suggestions where I can stop the workflow, using an integration, then restart so it goes through the rules again?