cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Reference the current item in a repeat loop

Waldy
Deputy Chef III
Deputy Chef III

For some reason I just cannot get the current item from a repeat loop.  In the job history, you can see a data pill called Item with the content that I want to extract, but I just cannot refer to that in an action within the loop.

2 REPLIES 2

Waldy
Deputy Chef III
Deputy Chef III

Within the loop branch action, I can only see Index, Size, Is first and Is last data pills

The Foreach output looks like this in the job history:

{
Index: 0,
Is first: true,
Is last: false,
Item:
{
value: CN=o365_Office365_E5,OU=Office 365 Licensing,OU=Groups,OU=Common,OU=Enterprise,OU=xxx,DC=xxx,DC=xxx
}
}

 

rharkness
Deputy Chef I
Deputy Chef I

What are you using as you input list when defining the For Each Repeat?  Because when I use a data pill that is a list object, I can see this when I am trying to select an item from the current data item in the loop.  Step 22 represents the For Each Loop and those are all the data pills from inside that item I can selectimage.png