The CreatorCon Call for Content is officially open! Get started here.

How to store Lookup Data for Decision Node in Virtual Agent?

HrudayD
Tera Contributor

Hi All,

 

I'm working on a Virtual Agent topic where I use a Lookup action to fetch details from the sys_plugins table, including the plugin status (Active/Inactive).

 

What I'm trying to achieve:

  • Based on the plugin status, I want to make a decision in the Decision node (Yes/No)
  • If the plugin is Active --> Yes path, otherwise No path.

What I've tried:

  • I successfully retrieved the plugin status using a Lookup action.
  • But I'm unsure how to store this value and use it in the Decision node.

Questions:

  1. Where should I store the plugin status so that it can be reference in the Decision node?
  2. Do I need a Script Action, or can I use a variable binding approach?
  3. Is there a best practice for handling such lookup-based decision-making in Virtual Agent?

I'm using ServiceNow Washington DC. Any guidance or examples would be greatly appreciated!

 

Thanks in advance!🙂

0 REPLIES 0