Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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