- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:27 PM
Hi all,
I have this requirement where I have to order a service catalog item through a virtual agent. But the problem here is that the catalog item contains list collector variables that are not supported by the virtual agent. So how to achieve this requirement?
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 11:19 PM
I don't think.
you can set the reference input 3 times
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:43 PM
Hi @MH3 ,
I trust you are doing great.
To achieve this requirement, we can use the ServiceNow Flow Designer. The Flow Designer provides a graphical interface to create and automate workflows, including interactions with virtual agents and service catalog items.
Here are the steps to achieve this requirement:
- Create a Flow in ServiceNow Flow Designer.
- Add a Trigger to start the flow when the virtual agent initiates the request to order the service catalog item.
- Use the "Get Catalog Items" action to retrieve the list of available catalog items.
- Use the "Get Catalog Variables" action to retrieve the variables for the catalog item that needs to be ordered.
- Use the "Create Catalog Task" action to create a task for the catalog item.
- Set the variable values for the task using the values provided by the virtual agent.
- Submit the task to order the service catalog item.
Trigger: Virtual Agent Request
Action 1: Get Catalog Items
Action 2: Get Catalog Variables
Action 3: Create Catalog Task
Action 4: Set Variable Values
Action 5: Submit Task
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:47 PM
I didn't get meaning of this line -> catalog item contains list collector variables that are not supported by the virtual agent
How it matters when you create the catalog item via script in Virtual agent?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 10:09 PM - edited 05-03-2023 10:10 PM
Hi @Ankur Bawiskar ,
Basically, I am using 'Request catalog item' topic block and the catalog item I am ordering consists of 3 list collector variables so Virtual agent is throwing error as not valid record_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 10:16 PM
what's the error? share the screenshot
So user is being told to share inputs as part of that topic
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader