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

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

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?

Want to help us improve this content?

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
Contact us