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.

Omit preceding text in record producer variable

glawson_pgatss
Tera Contributor

All,

 

I have a business requirement for a record producer variable to be modified on the record producer page.

 

The requirement is to remove any preceding text before the actual category name IE:
IT - AV

IT - Security

 

I need to omit the 'IT - ' when the record producer is loaded. Any help is appreciated!

3 REPLIES 3

Gangadhar Ravi
Giga Sage

@glawson_pgatss  what is your variable type ?

@Gangadhar Ravi- Lookup select box is the variable type.

Gangadhar Ravi
Giga Sage

@glawson_pgatss I don't think you can write script. One option is you can create new field on that lookup table and populate new value into that and use that in your variable.