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

 

// FEEDBACK

Was this useful?

Your rating shows how helpful this note is to other readers.

Was this useful?

Click the stars to rate.

Average rating 0 / 5. Total votes: 0

No one has rated this post yet. Be the first!

Sorry this post was not helpful.

Your feedback is valuable to us.

How can we make this post more helpful?

// JOIN THE CONVERSATION

Share your experience

Got a question, a different solution or a note to add?

// KEEP READING

One more note.

All posts ↗︎