
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
02-21-2021 10:03 PM - edited 08-14-2024 12:57 PM
Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
Hi there,
Ever wondered how to create more advanced Virtual Agent topics? Using the Script Action for example? You might have read some articles I've written, for example about a custom Topic Block to trigger Flow Designer Flows/Subflows. With the Quebec release, triggering Flow Designer Subflows/Actions… is added as Utility to use within the Virtual Agent Designer!
Utility: Action
Maybe your eye already caught the new Utility "Action". That's what this article is about! It does make one of my previous articles obsolete, though always good when such functionality becomes out-of-the-box.
Note: The fields shown in the Flow Action Properties can differ a little bit depending on if you selected Action or Subflow.
Flow Designer Subflow or Action
The new Utility Action supports executing a Flow Designer Subflow or Action. It does not support executing a Flow Designer Flow (the custom Topic Block earlier mentioned, does support executing a Flow Designer Flow). Positives of having this new Utility are amongst others that you can simply select a Subflow or Action, and depending on those, Inputs become visible. This helps guide you through the usage of the Flow Designer Subflow or Action.
For this article, I've selected an Action that retrieves System Property values. The input is simply the System Property name, and the output the System Property value. After selecting the Action on the Utility Flow Action Properties, both the (mandatory) input and the output automatically become visible and can be used.
Note: The output only becomes visible when you select "Wait for response".
The output mapping can easily be used using the data pill or scripting vaInputs.variable_name.
Result
The result of my first small test using an Action to retrieve System Property Values instantly works. Just having dragged/dropped the Utility Action and a Bot Response Text, selected the Action and added the output to the Bot Response Text using the data pill.
The usage of this new Utility Action looks so easy and smooth!
---
And that's it!
C |
If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.
Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in? |
Kind regards,
Mark Roethof
ServiceNow Technical Platform Architect @ Quint Technology
2x ServiceNow Developer MVP
2x ServiceNow Community MVP
---
- 3,664 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Mark,
The article was really helpful. I am stuck with one scenario .I am integrating a 3rd party application with VA (Outbound Rest API). I am using an endpoint (GET method) which displays a list of data as the response . I need to display these data in reference choice for user selection.
The action works fine in the flow designer and gives the desired output but I am not getting any output from the action in the VA Designer.
The other endpoints using PUT method works as expected .
Please help me understand how can I debug better to understand what I am missing.
Regards
Rajjyoti Datta

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi there,
Can you create a community question for this and provide as much as details as possible on what you've setup.
Kind regards,
Mark