You can transfer data using Session in ServiceNow.
First, we can create a variable as follows and assign a value to it.
var session = gs.getSession();
session.putClientData('degiskenIsmi', 'degiskenDegeri');
We can call the variable we assigned as follows.
var clientData = session.getClientData('degiskenIsmi');
gs.info(clientData);

Share your experience
Got a question, a different solution or a note to add?
Log in or join us to write a comment.
Log in ↗︎Sign up ↗︎