Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

topic block that transitions by language in VA.

Yudai Yamamoto
Mega Guru

I want to specify a topic block that transitions by language in VA.
Using the Script action utility, I want to use LiveAgent_language in Context variables to automatically get the user's configured language.
Does anyone know how to write a script?

1 ACCEPTED SOLUTION

Yudai Yamamoto
Mega Guru

I was able to do.

I wrote the below script.

vaVars.LiveAgent_language = gs.getUser().getLanguage();

View solution in original post

1 REPLY 1

Yudai Yamamoto
Mega Guru

I was able to do.

I wrote the below script.

vaVars.LiveAgent_language = gs.getUser().getLanguage();