- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2023 11:40 AM - edited ‎09-26-2023 12:22 PM
I'm working on a catalog item that has two List Collector fields. Those fields being Requested For & Asset Tag(s) respectively. Anyone using the form should be able to add multiple values for the Requested For and Asset Tag(s) fields. The Asset Tag(s) field will only be populated with the assets belonging to those users in the Requested For field.
I've got that part working. However, here is where I'm a little confused. I have a subflow that is supposed to add an asset to a particular AD group. But I can't choose list variables with the data pill picker, meaning I can't specify the Asset Tag(s) field as the Computer in this subflow. With scripting, would it be possible to add multiple assets to the Computer field in my subflow?
EDIT: I believe I've found something useful. I've applied the Flow Logic "For Each Item" to my flow and was able to choose my list collector field Asset Tag(s). Then, for the Computer variable of my subflow, I was able to choose the computer record for that For Each Item step.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2023 07:17 PM
Hi @cwolfe01
You hit the right thing, For Each is the go to way here instead of writing some Scripted Action or Inline Script.
You can safely move ahead with For each approach 🙂
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2023 07:17 PM
Hi @cwolfe01
You hit the right thing, For Each is the go to way here instead of writing some Scripted Action or Inline Script.
You can safely move ahead with For each approach 🙂
Anvesh