// ServiceNow

Passing Data with Session

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);

 

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎