Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Exceptions in DataTransforms are not evaluated by StepStatusFail



When a DataTransform is called from an Activity using Apply-DataTransform method and the DataTransform has an exception or error, the exception or error is not passed to the calling activity, even if a StepStatusFail When rule is placed or 'On Exception, Jump To Later Step' is selected.

Error Messages

Not Applicable

Steps to Reproduce

1. Create a new activity.
2. Use Apply DataTransform step.
3. Have property set inside DT to 150/0 (divide by zero).
4. Use JUMP condition to use stepStatusFail When conditions and redirect to next step during exceptions.
5. Verify if the stepStatusFail If True and If False is applied.

Root Cause

In case of generic unhandled exceptions like arithmetic exceptions (divide by zero), the stepStatusFail will not be evaluated. 


If there are generic unhandled exceptions such as arithmetic exceptions (divide by zero), the stepStatusFail will not be evaluated. In this case, you can use On exception, Jump to later step label field to handle it.

In case of Pega related issues or exceptions, which are instances of PRRuntimeException class, the stepStatusFail will be evaluated to True or False and you can handle these kind of scenarios using IF TRUE and IF FALSE params on Jump condition. 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us