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

Assignment service does not work correctly

SA-96260

Summary



When configuring the Assignment Service shape, in the Type field the user enters a necessary activity. However, when the user submits the form, the value overrides to the WorkList.
On click of the Submit button, the pzUpdateRouting activity is invoked. On Step 8, the pyImplementation property value is overridden. and this field is used for the activity value on the Assignment Service shape.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a sample application.
  2. Create a sample flow.
  3. Add an Assignment Service shape and select any existing activity such as, InvokeStartingService.


     
  4. Save the configuration.
  5. Open the configuration and verify. The Details is reset to WorkList


Root Cause



The pzUpdateRouting activity call at Step 2 of Data-MO-Activity-Assignment.pyUpdateModifiers overrode the pyImplementation property value at Step 8. 
This is a Regression introduced in Pega Platform 8.1 which included the Unified Design Time Routing configurations for the Case Designer and the Flow rule form. 

Resolution



Perform the following local-change: 

Add a precondition as '.pxObjClass==Data-MO-Activity-Assignment-Invoke' to restrict the call to the pzUpdateRouting activity.

Since Data-MO-Activity-Assignment.pyUpdateModifiers is an available activity, override the activity and add a precondition at Step 2 to skip the pzUpdateRouting activity call,

[When]  -  .pxObjClass=="Data-MO-Activity-Assignment-Invoke



This change allows the user to save the flow with the desired configuration without resetting it to WorkList.

This feature is implemented in the following:

  • Pega Platform 8.3.2
  • Pega Platform Pega 8.4

Published 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?

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