can you add match for trigger?
example: trigger A AND trigger B is true, run action xx.
thx.
match trigger
Moderator: Martin
Re: match trigger
I see a complication with this: a time domain component within which a trigger is considered as "has occured". As a trigger is not (necessarily) a lasting condition, and two triggers are extremely unlikely to occur at exactly the same time, either some time specification within which both triggers occurred is needed (you probably don't want your flow to execute because of one trigger issued now, and another trigger ANDed with happened to take place two days ago), or maybe a state machine, which resets if no state change has taken place for some time.
Re: match trigger
Use both triggers in a flow and connect the rest of the flow to them with a matching condition for trigger A and a matching condition for trigger B. This should effectively work likes two triggers combined with "AND".ttydylcy wrote:can you add match for trigger?
example: trigger A AND trigger B is true, run action xx.
Re: match trigger
This is it. Probably, if you want to compare two (or more) states you have to create two (or more) global variables, one for each state, and do the comparison against the variables.kintrupf wrote:Use both triggers in a flow and connect the rest of the flow to them with a matching condition for trigger A and a matching condition for trigger B. This should effectively work likes two triggers combined with "AND".ttydylcy wrote:can you add match for trigger?
example: trigger A AND trigger B is true, run action xx.