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 Apps / Set trigger condition ...
Power Apps
Suggested Answer

Set trigger condition programmatically

(1) ShareShare
ReportReport
Posted on by 4
In our custom connector, we would like to set the trigger condition based on the value of a dropdown in the trigger.
 
Example: We have a trigger that triggers when any form has been submitted. Now we would like to add a dropdown to select a form in the trigger, which should set the trigger condition such that the flow only triggers when that specific form has been filled in
 
According to support, this should be documented in detail: "Yes, it is possible to set the trigger condition programmatically based on a dropdown in Power Automate. You can find detailed guidance and support on this topic in the Power Automate documentation and community forums.".
 
Can anyone point us to the right place?
Categories:
I have the same question (0)
  • Suggested answer
    Giraldoj Profile Picture
    872 Moderator on at
    Hello there,

    so you basically want to have a "dropdown" to change your trigger condition ?
     
    There is nothing like a dropdown you can configure for that specially because i guess your flow is an automatic flow, for manual flows you can do that kind of stuff.
     
    in this case a workaround to do achieve a similar outcome is using environment variables inside your trigger condition, lets say that you want to check if a column value is the same as your envionment variable, your code should look something like this:
    @equals(triggerOutputs()?['body/columnname'], parameters('Triggercondition (emh_Triggercondition)'))
    then you can change value of the environment variable directly from the variable definition table, with a small power apps or even another cloudflow by email teams.
     
    If this helps, please mark it as the solution by clicking "Accept as solution." A "Like" would be greatly appreciated if you found the content helpful. Thanks!
    Best,
     

    LinkedIn:  https://www.linkedin.com/in/jhonatan-giraldo-2b20561b9/
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    HI,
     
     
    The real issue, is if the data incoming has the ability to be read at that time.
     
    Sure you can create an Input. What I believe you want it.
     
    I'm going to Select a form (with ID 1234568) That's in your trigger
    Then I want to compare that to a Value in the Payload coming into the trigger, which is different than the parameters.
     
    so something like essentially like
     
    equals(@triggerBody()?['MyFormSelectionValueWhichMayNeedAPathIDontKnowItsYourParameterData'], triggerBody()?['WhateverObject/DataComingInAndNeedsPathToTheFormValue'])
     
     
     
     
     
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard