Virtual Agent topic flow script - set variables in script action

rupavuthalu
Tera Contributor

I'm building a Virtual Agent topic and need to set variables in a Script Action
node that can be displayed in subsequent Text nodes.

Working example in my instance:
- Script sets: vaVars.count = 10;
- Appears in Variables tab under "Script variables"

My script (doesn't work):
- Script sets: vaVars.aternity_disk_percent = '75';
- Does NOT appear in Script variables section
- Input variables remain empty

Question: What's the correct pattern to set conversation-scoped variables
in Script Action nodes that persist for Text node display?

Screenshots attached.

0 REPLIES 0