var sSD='SERVICES | ERROR | Multiple issues';
var sImpact=sSD.split('|')[0].toUpperCase().trim();
var sSeverity=sSD.split('|')[1].toUpperCase().trim();
gs.print(sImpact);
gs.print(sSeverity);
All things ServiceNow... take a look at my channel: https://www.youtube.com/@cloudminus89
var sSD='SERVICES | ERROR | Multiple issues';
var sImpact=sSD.split('|')[0].toUpperCase().trim();
var sSeverity=sSD.split('|')[1].toUpperCase().trim();
gs.print(sImpact);
gs.print(sSeverity);
Comments
Post a Comment