Memo associated with bulk checkin includes a colon (":")
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.
Steps to Reproduce
1. Perform BulkActions on checked out rules.
2. Select rules to checkin.
3. Add a comment.
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.
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
0% found this useful