I have to create unique catalog task based on location selected in MRVS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 01:08 AM
I have to create catalog task based on location selected in MRVS. Say if the below details are submitted by the requester then depending on the number of unique locations selected in the multirow variable set the number of service catalog tasks should be created.
For instance : 1 single task for Abel and David for Delhi location , another task for Willa for Mumbai location
How can we achieve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 01:20 AM
If you are using Flow designer then you will get the values of all MRVS . Use the For loop to validate based on your task condition
step 1 use action get catalog Variables
step 2 : Use For each item and pass the array object (MRVS variable)
step 3: Create the task based on requirement
Please mark correct if i am able to answer the question
Thanks
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 01:20 AM
Hello @Mishu,
Please find the below link and let me know whether it is helpful or not.
https://www.servicenow.com/community/developer-forum/mrv-to-create-a-new-catalog-task-for-each-row/m...
Thanks
SP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 12:54 AM
Hi,
My requirement is different i want the task to be created only for unique locations, not for each row in MRVS. Suppose there are 3 rows with location is Delhi and 2 rows with Mumbai then total rows are 5 but Task will be created only 2 , one for Delhi Location and other one for Mumbai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 12:57 AM
@Ankur Bawiskar ...Can you help here