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 / Flow to add a dates in...
Power Automate
Unanswered

Flow to add a dates in Sharepoint columns based on the value of a choice column

(0) ShareShare
ReportReport
Posted on by 4

I am trying to have a flow run to add a date in Sharepoint columns based on the value of a choice column ("Gate"). "Gate" will change as a project goes through a process and I'd like to document the date of each stage. I cannot get the date to be specific to the gate value.  When the flow runs it puts the same value in all 3 date columns.

 

I followed these steps (as found in other questions), but I think I am maybe missing something in the "Yes" or "No" to look at the Gate choice value. Flow when a SharePoint Column is updated - @WonderLaura

 

Gate             Result:

A                  Put the date Gate A was selected and have the dates of B and C empty

B                  Keep the date of Gate A in a column and put the date Gate B was selected in a new column and have the                            dates of C empty

C                  Keep the date of Gates A and B in their column and put the date Gate C was selected in a new column

Categories:
  • Andrew_J Profile Picture
    1,962 Moderator on at

    @MM9875 

     

    Okay would this work, you put the date in the SP list for gates A through to C as and when you want but updates the status which I assume may be a muliple choice column at present. 

     

    So how do you deal with this, start with:

     

    When an item is modified

    Get Items

    Switch with three cases, stage A, B, and C all based on the Gate

    Update Item - where you manualy change the muliple choice to to Gate A, B, or C.  The update item will be require in each case

     

    I hope that makes sence.

     

    Regards,

     

    Andrew

  • CU14111736-0 Profile Picture
    4 on at

    yes but not quite. I have it set up for the following but with a few issues

    1. I keep getting emails from Microsoft that I am running the flow too much

    2. It was working last week but now it is not putting the dates correctly.

    image.png
  • Andrew_J Profile Picture
    1,962 Moderator on at

    @MM9875 

     

    I cannot help the emails from microsoft saying you are running the flow too much.

     

    But from what I was tryingto get across in my second post.  I was talking about changing the dates in the list.  The flow will deal with putting the gates in you need.

     

    Item IDGate A DateGate A StatusGate B DateGate B Status

    Gate C

    Date

    Gate C

    Status

    101/01/2024Complete05/02/2024Complete  
    Notes if a date is placed in Gate A Date this changes the status in this column    
           

     

    I think you could delete some  of the flow steps with the crosses through them below

     

    Andrew_J_0-1712088043640.png

    I am going on leave myself but I hope you are able to get this to state that works..

     

    Andrew

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
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard