Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to call flow designer from Virtual agent

Pooja Mallikarj
Kilo Sage

Hi Community,

 

I want to run a flow designer from virtual agent. I know about Action utilities which is used to call flow designer but my question is  what would be the spoke ?If I select Action from action utilities.

 

Thanks,

Pooja M

8 REPLIES 8

@Pooja Mallikarj 

please share the script

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

 
 
Hi Ankur, 
This is the script. And I am writing this in Script Action below Action in the topic flow.
 
(function execute() {
var inputs = {};
inputs['Req_item'] = '424509cd47e87d10d6ff5599e16d4389';
sn_fd.FlowAPI.executeAction('test_flow', inputs);
 
})()

@Pooja Mallikarj 

did you try calling it from background script.

if it works there it should work in VA script as well.

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

Hi Ankur ,Just have a question 

In Action what should I select for Action and Spoke.

As my Action is in Global application , but my topic is in ITSM Virtual Agent Conversations.

What would be the approach for this?