Support Article
Agent Activity invoking DDF fails in pxRunSingleCaseDDF
SA-30686
Summary
When running a data decision flow(DDF) rule to read data from external Data source and convert/transform the data to write to a Pega Marketing table using the pxRunSingleCaseDDF API an error occurs. The DDF when run manually does not produce an error.
ERROR MESSAGES
Caused by:
** Java Exception: com.pega.dsm.dnode.api.dataflow.StageException: Exception in stage: CustomStage
Steps to Reproduce
- Call a working DDF sourced from a report definition pxRunSingleCaseDDF while tracing
- Observe the error in the Pega Platform Tracer.
Root Cause
An issue in the custom application code or rules. The API activity pxRunSingleCaseDDF is designed to only run on abstract data sources and not the configured report definition.
Resolution
Here’s the explanation for the reported behavior:
https://pdn.pega.com/data-flow-public-api
Published November 24, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.