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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Variable and apply to each issue

(0) ShareShare
ReportReport
Posted on by

I have created a flow to check time entries submitted in Dynamics PSA.  The flow is based on this Flow.

 

I filter users from the entity Bookable Resources and check if their time entries in PSA are less than or equal to 35 hours.

 

But the problem I have is that name and time is duplicated in my csv.  It is duplicated 259 time in the csv which is the number of users in Bookable Resources.  

 

Below is the flow hopefully someone can spot where I have gone wrong.

 

 

Screenshot 2019-11-24 at 12.04.12.png

Screenshot 2019-11-24 at 12.04.58.pngScreenshot 2019-11-24 at 12.07.42.pngScreenshot 2019-11-24 at 12.08.32.png

Screenshot 2019-11-24 at 12.08.57.png

 

 

Here is the output

 

Screenshot 2019-11-24 at 12.13.19.png

I have the same question (0)
  • Pstork1 Profile Picture
    68,271 Most Valuable Professional on at
    Re: Variable and apply to each issue

    Its not entirely clear from the screenshots, but you have two loops.  What is the relationship of the loops?  Is the second loop inside the first?  I suspect it isn't which is why you are getting one result repeated for each time the second loop runs, because it is reusing the variable values calculated by the first loop for every loop run in the second.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard