- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 10:02 AM - edited 08-22-2023 10:08 AM
Hello, ServiceNow community!
I have an MRVS that I'm I would like to iterate through to generate catalog tasks. The problem is, it's only creating a task for row #1 in the MRVS.
I have a main flow and a sub-flow. Doing the same action in the main flow works. However, in the sub-flow, I'm only getting the first row created.
When I log out the results of the for each, I do indeed see both rows being rendered.
Does anyone have any thoughts on this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 01:11 PM
This is actually a very good idea that I had not considered, trying it now. Although I don't know why this would make any difference, it is very much worth a try. Will report the results shortly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 12:55 PM
Try to use create a record in the sc_task instead of the "Create catalog task" action:
You can share if you have a problem with the execution, for a each that would appear similar to:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 01:11 PM
This is actually a very good idea that I had not considered, trying it now. Although I don't know why this would make any difference, it is very much worth a try. Will report the results shortly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 01:56 PM
This seems to have done the trick. Thank you so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:36 AM
You're welcome. Would you mind marking my answer as the solution in this case? 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 09:42 AM
Unfortunately, your answer was not the solution in this case, that belongs to: "Marco0o1". I do, however, appreciate your participation 🙂