Support Article

All parameters not set when setting status on assignment shape



Only the status is set when the user tries to set the status directly on the assignment shape. Additional parameters, pyTaskName, pyFlowName, pyFlowtype, etc, are not set.

Error Messages

Not Applicable

Steps to Reproduce

  1. In the assignment shape of a flow, the work status is being set.
  2. Update the HistoryListView list view rule, to add the additional columns to be displayed in the audit history.
  3. Update the harness to have a link, which on click runs the action "View Attachments", to display the audit history.
  4. Run the flow.
  5. Observe: the work status is set, however, the corresponding properties(pyFlowName, pyFlowType and pyTaskName) are not set.
  6. Click "View Attachments" link.
  7. Observe: the correponding columns are blank.
  8. Note: directly calling the "UpdateStatus" Activity should still work correctly.

Root Cause

A defect in Pegasystems’ code or rules : Status Update via an assignment, uses the UpdateStatus activity by passing a new parameter page with only the target status value to be updated. Whereas Status Update via an Utility uses the same UpdateStatus activity by passing a parameter page created using the "CreateNewParamsPage" private method with all the required information.


Apply HFix-32582

Published March 1, 2017 - Updated March 3, 2017

Have a question? Get answers now.

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