Skip to main content

Notifications

Power Platform Community / Forums / Using Flows / Condition based on a S...
Using Flows
Answered

Condition based on a SharePoint Column Value

Posted on by 192
Hey all, 
 
I'm trying to trigger a condition based off the value in a SharePoint column which is a choice column.  I've added the condition in, but the result keeps coming back "false" and I'm not sure where I'm going wrong with it.  I'm not using the "trigger" section under the "When an item is created" action, but I'm using the actual "Condition" section.  See my attachments. 
  • DerrickH Profile Picture
    DerrickH 192 on at
    Condition based on a SharePoint Column Value
    Thank you!
  • Verified answer
    trice602 Profile Picture
    trice602 10,345 on at
    Condition based on a SharePoint Column Value
    Hi,
     
    You can do this by using the conditional action but remember your flow will run for every single item created when really it looks like you only want to run it when DriverType equals CDL driver.  You can do that by adding the trigger conditions in the settings "..." of the trigger.
     
    equals(triggerOutputs()?['body/DriverType'], 'CDL Driver')
     
    That said, if you want to use as-is, without the above trigger condition, in your current flow, remove the Get item that was created action because it is not needed.  All your dynamic content exists in the trigger.  Then in your condition action, reference DriverType from the trigger.
     
     
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     

     
     

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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,122

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,414

Leaderboard

Featured topics

Restore a deleted flow