"Deadline Exceeded Error code 6 " while running the compound action
We are working on a use case , where we get invoices from databricks , with requesters username, associated with that . what our current flow does is that , it fetches username for each invoice gets its email and fetches the profile of the user to get the email and region of the user and also to fetch the manager information to send the invoice escalation notification if an invoice hits deadline on that particular day. So the logic works in a way that it runs daily , and groups invoices based on their ages and as per the requester and managers and sends those to the respective people. This is flow is working successfully . But theres is a catch . On Biweekly Wednesdays we have the logic to pull all invoices above a certain number of days. So it fetches thousands of invoices on Biweekly wednesdays and then tries to process them. But while processing the script gives an error saying “ Deadline Exceeded” with the error code 6. As we are not calling any external API why is the code failing . Is there a platform specific limit for Moveworks compound action that stops the flow from running after running for a certain amount of time . If that's the case how could one handle this ?
On normal days - API fetches 400 max invoices - All users gets notification
On biweekly Wednesdays - API fetches 4000 invoices - The flow fails giving the Deadline Exceeded error.
I am open to suggestions on this. Would love the help.
Thanks