Support Article
Memo associated with bulk checkin includes a colon (":")
SA-12325
Summary
When a user performs a Bulk-Checkin, a colon (":") is appended before the check-in comment. There is a requirement to use pyMemo as part of the code review process. The reporting looks at checkin comments for (something like the following) a specific change associated with a project.
OPP:123456 - Checkin comment.
But, if bulk validation is used, the comment is as below:
:OPP:123456 - Checkin comment.
Error Messages
Not Applicable
Steps to Reproduce
1. Perform BulkActions on checked out rules.
2. Select rules to checkin.
3. Add a comment.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. The rule checkin logic must check the length of py.TaskID prior to setting the memo parameter.
Resolution
This issue is resolved through the following local-change:
There is an extension point activity, Rule-.PreCheckIn. Save this activity in to an application ruleset, remove the existing java step and add a property set for setting the Param.InMemo value.
Set Param.InMemo=(@(Pega-RULES:String).length(.pyTaskID) == 0 || @(Pega-RULES:String).equals(.pyTaskID, " ")) ? .pyMemo : .pyTaskID + ":"+.pyMemo
Published July 23, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.