Question

Cannot catch exceptions returned by data flow

I am calling a data flow in a process flow. The data flow calls a strategy. I have simulated a divide by zero exception in the strategy. When I ran the tracer I noticed that the error gets suppressed by the pzRunDecisionDataFlow. Is there a way to catch this error when the data flow ends and the control gets back to the process flow?

The tracer output is attached. The step status fail vanishes after the activity pzRunDecisionDataFlow ends.

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

September 12, 2019 - 2:10am

Hello,

May I know which version of Pega and Pega marketing ?

Regards

Prasanth

September 12, 2019 - 8:19pm

Pega version 7.3.1 and Pega Marketing for Communications 7.31

September 13, 2019 - 8:41am

Hi Team,

Can you post me the screenshot of the data flow because we see this functionality is different for different sources.

Regards

Prasanth

September 17, 2019 - 5:42am

Hi Team,

I could even see the issue at my end I would like to discuss with the product team on this and update you shortly

Regards

Prasanth

Pega
September 18, 2019 - 4:46am

Please attach the tracer.

 

September 19, 2019 - 5:10am

Hi,

The error is propagated as an exception to pzRunDecisionDataFlow activity. We should catch this exception and add an error message to the work page like I made a quick change in the system you have provided.

 

But I am not sure if it is required to send the errors back to case during run time as the DF results no offers if there are issues and this shape is not part of any assignment/flow action/harness() instead it’s an advanced shape like an utility shape.

 

 

Thanks & Regards,