Hi Sneha,

So, you can run a script like this:

var param1 = current.getValue('sys_id');
var scriptResult = true;

var evaluator = new GlideScopedEvaluator();
evaluator.putVariable('param1', param1);
				
scriptResult = evaluator.evaluateScript(current, '<name_of_the_field_that_contains_the_script>', null);

 

Then, in the field that contains the script, you can use "param1" as it was declared.

This is a very powerful tool to use!!

Please, if this answer is relevant for you, please mark it as correct and helpful.

Thanks,

Filipe