We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

how to pass value from one variable to other on change of value

Anna_Servicenow
Tera Guru

I have form in scope. It also has a field activity team in scope. Now I want to pass the value in this , each time the selection changes to a global task field assignment group , so that I can use it in my reference qualifier parameter. 

How to pass the value ?

7 REPLIES 7

Try this

javascript : new global.ScriptIncludeName().functionName(current.field_name);

javascript : new global.ScriptIncludeName().functionName(current.field_name);
didnt work as well, current.field_name is not passing the value due to scope

Hi Anna,

Define your script include as a class and when you call it, call it with scope.Name.Classname().functionName()

 

-Anurag