Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

SM TIP: Duplicate "Journal Updates" when using the Duplicate Incident functionality.

The  “duplicate Incident” functionality does a carbon copy of the Incident you select.


This functionality includes the "journal update" entries and that was confusing users because they were seeing old entries in new Incidents.


Here is an easy way to avoid that and clean the Journal Update field during the clone/duplicate action:


  1. Go to process: im.clone
  2. Add the following lines in the Initial Expressions section(screenshot attached):


$L.void=fduplicate($L.file.copy, $L.file)

update.action in $L.file.copy={""}



The first line will invoke the duplicate function and it will create a new copy of the original $L.file record ( $L.file.copy ).


The second line will clean the update.action field which is the journal update section. The ideal is not to affect the original variable($L.file) .


3.  Then, go to the RAD tab and modify the "first expression evaluated before RAD" to:


$L.void=fduplicate($L.file.clone, $L.file.copy)


and also the parameter Value for record to :


$L.file.copy(see the screenshot attached)



4. Save the process record.


Now, your cloned Incident will have a clean journal and the original Incident will keep their journal updates.


Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.