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

Notifications

Announcements

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
    771 Super User 2025 Season 2 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,433 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard