I'm trying to create an email trigger for my power app that has two forms. I want to create two separate "When an item is modified on SharePoint send a customized email" triggers when each of the forms is submitted. I tried using the trigger conditions to achieve this but that's not working. I added a customized data card on form 1 and created conditions to run the flow only when specific columns have changed. When I add this expression on the trigger conditions, any changes made on form 2 are still triggering an email.
Data card code set on Default for Form1: If(Form1.DisplayMode = DisplayMode.Edit && DataCardValue1.Text <> ThisItem.Title && DataCardValue3.Selected.Value<>ThisItem.Department.Value,"yes","no")
Trigger condition:
@equals(triggerBody()?['RuntheFlow'],'yes')
Is there a solution to rectify this?