Workflow error / Error executing workflow action

Hi Everyone

I had an error in an API backend workflow in which my application is sending out an email. In this workflow I’m using a plugin in which I generate an If Value with the BDK Utitilities tool. I’m suspecting that potentially this workflow action caused the workflow to generate an error and to terminate itself but cannot be 100% sure because of the logs I can access.
Can anybody give insights on:

  1. How to drill down in more detail which exact workflow action caused the Error
  2. What best practice is to handle backend workflow errors? Optimally I would like to retry the workflow for x amount of times with the same input data on the start of the workflow if an error occurred and send a message to my admin mail if the workflow was never run successfully.

Any feedbacks highly appreciated

What’s the inputs action for the BDK action? And are you sure it’s necessary (I haven’t used the plugin, but would be surprised if you need to use it for an if condition).

You hope for the best.

More usefully, when building apps, I:

  • assume native Bubble actions like create/change/delete will run without an error
  • initialise external API calls with headers and errors such that if an error occurs you can take action e.g create a log, schedule the workflow again, send yourself an email etc

Hi George
Yes you’re right, the if/elif value generated with third party plugin isn’t strictly necessary. I changed the workflow to ‘send email’ two times with a different conditional statement. Not the most efficient way but it works for the current usecase. Let’s hope no error occurs in the future.
Best
Florian

This topic was automatically closed after 14 days. New replies are no longer allowed.