Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to remove Original value label from description

Community Alums
Not applicable

Anyone know how to to remove this Original Value label in case description field (yellow highlighted)

 

orginal value.png

1 REPLY 1

Omkar Mone
Mega Sage

You may want to do some manipulations before putting it to comments. something like this will help - 

 

var sampleString = "Company: Autodesk (original value: 3444)";

var updatedString = sampleString.replace(/\(original value: \d+\)/g, '');

updatedString = updatedString.trim();

 

Do give it a try and let me know