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 / Select Action only rea...
Power Automate
Answered

Select Action only reading first version

(0) ShareShare
ReportReport
Posted on by 8

Hi All,

 

I am creating a flow for when an item is assigned to a user, it will send an email. I have the flow complete, but I can't get my select step to read 2 versions, even though the Get step is showing both. Thus, the condition always reads as true, because select is showing the same version twice.

 

Does any one have any advice on getting Select to read 2 different versions and output that data for conditions?

 

Screenshots:

Screen1.PNGScreen2.PNGScreen3.PNGScreen4.PNG

 

Thanks for any help you can provide.

 

Categories:
  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @PNW_Builder 

     

    Can you share a screenshot of your full flow?

     

    is the select action being used inside a loop?

  • PNW_Builder Profile Picture
    8 on at

    Screen5.PNG

     

    Here is my full flow. I don't think its a loop, but I am not very good with these flows yet.

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hi @PNW_Builder 

     

    Just so I understand,

    Your condition is checking the first version, and the last version. And if its the same do nothing but if versions are different than you want to send an email?

     

    What information are you sending in your email? This will help me figure out a solution for you.

  • PNW_Builder Profile Picture
    8 on at

    Correct. Its a custom email to the team member the item is assigned to explaining what has been assigned to them.

     

    The overall goal is to send the email only when the assigned to column is changed, not every time the item is edited. So, the select step should be pulling the version number and assigned to display name of the last 2 versions. That way the condition can check if the assigned to field has changed, and send the email as needed.

  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hi @PNW_Builder 

     

    Let me know if this works:

    You can use:

    'Get changes for an item or file' action right after your trigger. Pass in the ID. and use this expression for the Since field:

    sub(int(triggerOutputs()?['body/{VersionNumber}']),1)

    Jcook_1-1601414321751.png

     

    Now in your condition, you will have dynamic content for each field that can be changed.

    Use the expression true on the right side of condition

    Jcook_2-1601414487422.png

     

    Now in the True block put your email action.

     

    In the False block, put your terminate.

     

     

     

  • PNW_Builder Profile Picture
    8 on at

    Simple, easy to follow, and worked first time.

     

    Thanks for your help, looks like I was overthinking it!

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 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard