I have created flow in virtual agent, is it possible to link the flow with another flow.

sekhar6
Tera Contributor

Hai All,

I Have A doubt that is it Possible , To list to flows in Virtual Agent .

If it Possible Please Help Me on that How to Do it?

 

Thank You,

Sekhar.

3 REPLIES 3

Pavankumar_1
Mega Patron

Hi @sekhar6 ,

If you need to call separate flow with in other flow then you need to make as sub flow that you want to execute after certain actions on the other flow. 

On actions once you click on + icon you will see three options actions, flow logic & Subflow. click on the Subflow option. select your subflow.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

H_9
Giga Guru

Hi Sekhar,

 

Yes, you can call a subflow in a virtual agent's flow.

We call that subflow a "Topic block" in virtual agent.

You can go to "Designer" in Virtual agent and there you can check the list of all the topics.

There you can check the types, some have type as "Topic" while some have type as "Topic Block".

 

You can call these topic blocks in another topics.

To do this, first go to the designer in virtual agent.

Open your topic.

Then use the "Topic Block" activity from the utilities.

H_9_0-1666598032639.png

 

In this activity, you can select whichever "Topic block" you want to call.

Please mark the  answer correct if it helps. 🙂

 

Thanks. 🙂

Nick Cuckson
Tera Contributor

If your topic is not a topic block, you can use the script action component.  Add the line

vaSystem.switchTopicByName('topic name to switch to');

There is also a function to switch by topic id