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
- Create a sample application.
- Create a sample flow.
- Add an Assignment Service shape and select any existing activity such as, InvokeStartingService.
- Save the configuration.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.