How to set the IT watch list field values in the sub flow create catalog task action??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 03:07 AM
I need to get the Sys id's either in the format of string or array as input for sub flow and I need to set them in IT Watch list field while creating task itself?
how to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 03:11 AM
The watchlist is a comma separated list of sysIDs, so depending on which users you need in there, you need to query to those ursers, get the sysIDs and put them into the watchlist. It all depends on the other logic you have and didn't share, how this can be done in the most effective manner.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 04:08 AM
Hii @KM SN ,
I didn't get your query. could you please explain it briefly. Because, from where you are passing the values to sub flow??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 04:53 AM
Hello @KM SN
If you are using flow designer -
1)Create a flow variable.
2)Look up Records to get the sys_id whatever you want.
3)Keep appending that value in flow variable with a comma.
You should get this and then you can put it in watchlist.
If you are using any other server side script then creating a string type variable - answer = "
And keep appending sys_id with comma should do the work.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY