Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Automation troubleshooting

Updated on April 6, 2022

Automation rules have defined errors codes and messages for problems that might occur when your application is using an automation. Use the following guidelines to understand and troubleshoot automation error handling and flow problems.

Setting automation errors in the implementation activity

The error codes on the automation rule are Rule-Message rules that can be thrown by the automation. Use the pxAddAutomationError function to set these errors on the pyAutomationErrors output page in the implementation activity.

Viewing automation errors

In the Tracer tool, you can view the errors on the generated pyAutomationErrors page or as a list in the automation results tracer event. You must enable this event in the Tracer tool; it is not enabled by default.

When working with errors in a design, do a page lookup of pyAutomationOutputs, and access pyErrorCode and pyErrorDetails. If pyErrorCode is blank, no errors have occurred.

Automation errors in a flow

If an error occurs in an automation in a flow, processing is moved into the problem flow. Use the Clipboard tool and the assignment to determine whether the error occurred because of a problem with the flow itself, with incorrect inputs, or because of a failure in the automation itself. After you fix the problem, restart the flow.

You can also customize the problem flow to take compensating action when an error occurs.

  • Previous topic Simulating a JSON response in automations
  • Next topic Integrating your application with an email provider

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us