From where the script variables are called and used in virtual agent topics variables ?

Neel Panchal
Tera Contributor

Can anyone help regarding the virtual agent.

I have a custom greeting topic in virtual agent and one variable is used i.e. greeting_message.

From where this one variable is called and used.

 

Screenshot 2024-05-21 145806.png

2 REPLIES 2

Sujatha V M
Kilo Patron
Kilo Patron

@Neel Panchal On your left pane, click on the "eye" icon under script section, the pop-up will provide you under which activity is the script variable being used. 

 

The purpose of it is to store the greetings message and re-use it again. 

 

SujathaVM_3-1716290519788.png

 

In OOB Greetings Topic, this variable is used on the below nodes.

 

SujathaVM_0-1716290022045.png

 

SujathaVM_1-1716290344193.png

 

SujathaVM_2-1716290436928.png

 

If you have cloned the OOB topic, it might have created the script variable, if its not used in any nodes you can delete it from your custom topic. 

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Ankur Bawiskar
Tera Patron
Tera Patron

@Neel Panchal 

it's defined in the greetings topic

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader