Support Article

Data Flow test fail with DNodeException

SA-26270

Summary



In DSM or Pega Marketing on Pega 7.2, onData Flow test execution fails with DNodeException.

Error Messages



com.pega.dsm.dnode.api.DNodeException: Unable to create/save work object. Message: .pyOptions.pyPublishUrlName: This field may not be blank.
Caused by:
com.pega.dsm.dnode.api.DNodeException: Unable to create/save work object. Message: .pyOptions.pyPublishUrlName: This field may not be blank.


Steps to Reproduce



Run the Data Flow in Activity using call Data-Decision-DDF-RunOptions.pxStartRun without setting the Property pyPublishURLName.

Root Cause



In the Activities, one can run Data Flows through the Data-Decision-DDF-RunOptions.pxStartRun, Data-Decision-DDF-RunOptions.pxRunDDFWithProgressPage and DataFlow-Execute methods.

Before triggering the Run using these methods, one must set the several Properties and pyPublishURLName is one of them, which was not set by the user.

Here is the list of Properties need to be set -
https://pdn.pega.com/documents/decision-strategy-manager-reference-guide-72#25


Resolution



Setting the Property "pyPublishURLName" before triggering the run of Data Flow resolves the issue.

Published August 1, 2016 - Updated August 23, 2017

Have a question? Get answers now.

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