cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aor
Helper I
Helper I

Can I get index number in apply to each?

Hi,

      How can I get show no in action "Apply to each".

      I want to get no for send loop email such as.

            No. 1 is xxxxxxxxxx

            No. 2 is yyyyyyy

Thanks in advance.

Aor.

 

error_10.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Aor ,

 

Please refer to screenshot below to create the flow:

1.png

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-alzhan-msft
Community Support
Community Support

Hi @Aor ,

 

Please refer to screenshot below to create the flow:

1.png

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Aor
Helper I
Helper I

Hi,

        Solution is create outside variable and it can not get loop no in action "Apply to each".

Thank you very much for your information.

Aor

v-alzhan-msft
Community Support
Community Support

Hi @Aor ,

 

Have you take a try with the solution?

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

        This solution is working but I find out for other solution.

        Do you have any idea for get index no in loop not declare variable ?

Thank you very much for your support.

Aor.

 

v-alzhan-msft
Community Support
Community Support

Hi @Aor ,

 

There is no any other solution.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Alice,

        I accepted this solution.

       Thank you for your information.

Aor.

gw_spoke
Regular Visitor

The suggested solution does not work inside an apply-to-each loop with concurrency set.  I can navigate through the index in the run log and see the data associated with each item, so the index should be possible!  When implementing the suggested solution the index count in the variable does not match the index of the run log.  The test I ran suggest it is randomly off the mark.

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (60,181)