"For Each" OOB Function Failing in Subflow for MRVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 04:32 AM
I am working on a subflow where I need to loop through each value in a Multi Row Variable Set (MRVS) using the out-of-the-box For Each function. This works fine in the main flow for the same catalog item and MRVS, but in the subflow I get this error:
{
"Create Policy": [
{
"action": "allow",
"application_inspection": "icmp",
"destination_group": null,
"destination_ip": "2.2.2.2",
"destination_security_zone": "any",
"group_rules_by_tag": "Mainframe",
"rule_name": "Ak_test1",
"service_service_group": null,
"source_group": null,
"source_ip": "1.1.1.1",
"source_security_zone": "any",
"update_policy": false
},
{
"action": "deny",
"application_inspection": null,
"destination_group": "ansible_test1",
"destination_ip": null,
"destination_security_zone": "any",
"group_rules_by_tag": "Mainframe",
"rule_name": "Ak_test2",
"service_service_group": "tecp-123",
"source_group": "ansible_test1",
"source_ip": null,
"source_security_zone": "any",
"update_policy": false
},
{
"action": "allow",
"application_inspection": "icmp",
"destination_group": "ansible_test1",
"destination_ip": "5.5.5.5, 6.6.6.6",
"destination_security_zone": "any",
"group_rules_by_tag": null,
"rule_name": "Ak_test3",
"service_service_group": "tcp-123",
"source_group": "ansible_test1",
"source_ip": "3.3.3.3, 4.4.4.4",
"source_security_zone": "any",
"update_policy": false
}
]
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 06:11 AM
Yes, the one I shared in description is from Subflow execution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 05:12 AM
Hi,
Can you please share the configuration on the Subflow?
And also the parts on the Flow calling the Subflow would be good to know to help troubleshoot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 05:35 AM
The subflow is getting called from ITOM framework through mapping.
I am getting all the inputs as is subflow. There's no issue with that part it's when I am using multiple steps in the for each loop the iterations are failing after the first one.
