Resolved! Using the Javascript string.padStart function in ServiceNow?
Is there some who could explain why the Javascript string.padStart function doesn't seem to work in ServiceNow?Example to run in the background script editor:var myval = '67';var zeropad = myval.padStart(8, '0');gs.info(myval);gs.info(zeropad);gs.inf...