Clipboard names not updated on change of Operator Work party
A Work party (Owner) is added to the case as Data-Party-Operator type.
When changing the party to a different operator using the out-of-the-box Data-Party-Operator.pyNewWorkPartyDetailRepeat section, the section runs the out-of-the-box activity Data-Party-Operator.WorkPartyRetrieve to retrieve the Operator details. However, the Operator's first and last names (pyFirstName and pyLastName) are not set.
When the Operator party is created initially, the section sets the Operator names in the out-of-the-box Data-Party-Operator.GetOperatorIDFromClipboard activity using the below calculation in Step1:
pyFirstName = @(Pega-RULES:String).equals(OperatorID.pyFirstName, "")?Lib(Pega-RULES:String).whatComesBeforeLast(OperatorID.pyUserName, ' '):OperatorID.pyFirstName
pyLastName = @(Pega-RULES:String).equals(OperatorID.pyLastName, "")?Lib(Pega-RULES:String).whatComesAfterLast(OperatorID.pyUserName, ' '):OperatorID.pyLastName
Steps to Reproduce
- Add an Operator type work party.
- Save the case.
- Change the Operator party to a different operator. Most details on the Clipboard change, but the pyFirstName and pyLastName do not change on the work party page. They remain the same as that set in Step 1.
A defect in Pegasystems’ code or rules
First name and Last name were not updated when the operator for the party was changed on the pyNewWorkPartyDetailRepeat component.
Published April 12, 2019 - Updated October 8, 2020
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.