Skip to main content

Automation troubleshooting

Suggest edit Updated on August 16, 2021

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.

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us