web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Concurrent loop and va...
Power Automate
Answered

Concurrent loop and variables

(0) ShareShare
ReportReport
Posted on by 3

Hi,

 

I'm looping rows of a csv in flow and search (and if not found create) different type of records (Contacts & Accounts) in Dynamics365 based on the row data. After doing this, I create another type of record and would like to input the either found or created Contact & Account.

=> works nicely

 

I switched on degree of parallelism to 50 as this naturally speeds up the whole process a lot!

As a result I can't use variable anymore in the 'Apply to each' row action... I use compose as some kind of variable subsitution.

=> works nicely

 

My question is:

After searching or creating the account or contact records (=> nested ifs) I'd like to use the found or created record in just one "create action"... normally I'd just store the found or created record id in a variable <= which I can't use in concurrent loops. I can't use compose either, as this "kind of variable" in my case can't be set again after "initialization". Is there any other way of remembering the found/created records to be able to use them later in a concurrent loop?

 

Thx in advance for any suggestion!

Categories:
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @AntonEm ,

     

    As far as I know, the only actions that can be used to dump and transition data in Flow are Compose and Variables.

    Could you please share the detailed configuration of Flow? Perhaps we could optimize the structure to try more possibilities.

     

    Best Regards,

  • AntonEm Profile Picture
    3 on at

    Thank you for your answer. This confirms my supposition. If I have additional questions, I'll aks here - as I'm in the middle of reworking, no current need right now 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard