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

Configured pre-data transform is called only for 1st flow action

SA-60597

Summary



The configured pre-data transform is invoked on click of pyLabel only for the first flow action.


Error Messages



com.pega.pegarules.pub.PRRuntimeException: The Reference pyWorkPage.pyFlowActionsList(2) is not valid. Accessing invalid index 2 whereas the list has 0 elements from Requestor : (H4G33VH77SGZLMVIMHISBK0M9HHJJDVI5:127.0.0.1)
Caused by: java.lang.IndexOutOfBoundsException: The Reference pyWorkPage.pyFlowActionsList(2) is not valid. Accessing invalid index 2 whereas the list has 0 elements from Requestor : (H4G33VH77SGZLMVIMHISBK0M9HHJJDVI5:127.0.0.1)



Steps to Reproduce

  1. Create a flow which has one Assignment shape
  2. Add multiple flow actions from the Assignment shape
  3. Run the flow. The actions display as options
  4. Override pyWorkActionsPerform and add a data transform before clicking any flow action list


Root Cause



This issue was determined to be a product enhancement request.


Resolution

Perform any of the following local-changes: 
  1. Override the pyWorkActionsAddWork Navigation rule and remove the post-processing step. This prevents the removal of the list from the work page and retains the index available for the data transform step page to be run
  2. Override the pyCaseActionArea section in dynamic layout 1.1.1 > Navigate to the button for Actions > Add run activity step above the menu action and call the pyWorkActionsCleanUp activity 

Alternatively,

Configure a data transform on pre-processing step of the flow action instead of in the navigation menu



 

Published July 31, 2018 - Updated December 2, 2021

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