How can I select multiple user's as watchers from Virtual Agent?

Vijaya13
Tera Contributor

I have a field called "Watcher" from create a incident topic.

So, I have added "Reference Choice" as input and I can select only one user at a time.

But I want to selete multiple user's from the list and update in the incident record.

 

I have followed the below method to select the multiple user's but it adds the one user as watcher from incident record.

Like, it takes only last selected users from the "Reference Choice"

 

find_real_file.png

1 ACCEPTED SOLUTION

There is one simple minor issue with your design, you have to use the input from the Additional Watchers below the Watcher decision. 

find_real_file.png

There are a couple of components with similar names which could have caused the confusion.

I have modified the topic name to "Add Watcher" for that component to understanding it better,

find_real_file.png

 

find_real_file.png

 

 

View solution in original post

17 REPLIES 17

I get what you're trying to do. I think Murali answered your question and you had already came to the loop conclusion yourself, so the answer should just be loop + update record: Watch List = [record.watch_list],[input]


From your screenshot, it just appears that you selected the wrong input when setting the Watch List:

find_real_file.png

Vijaya13
Tera Contributor

I tried again with below changes but didn't work.. not getting where i'm doing wrong.

find_real_file.png

 

 

find_real_file.png

 

 

This is when creating the incident in a same flow.

 

Looks like you're missing a comma now in the Additional User record action:

find_real_file.png

Vijaya13
Tera Contributor

even I tried adding the comma but still no luck

Vijaya13
Tera Contributor

I made some changes to the flow:

 

 

Now, i'm getting first value as undefined like below: