We will divide the example into below points, As by name itself it states Flow will only run when the trigger condition is matched
EXAMPLE: We want the flow to trigger only when case status = 2 where our flow trigger is “When a record is created”
@equals(triggerBody()?[‘statecode’],1)
@equals(triggerBody()?[‘_statecode_label’],’Resolved’)
@equals(triggerBody()?[‘new_iscontact’],true)
@equals(triggerBody()?[‘_new_lookup_value’], ‘3184b10e-eaa8-ea11-a812-000d3a5a77a3’)
@equals(triggerBody()?[‘_new_lookup_type’],’contacts’)
@equals(triggerBody()?[‘_ownerid_type’],’systemusers’)
@equals(triggerBody()?[‘ _customerid_type’],’accounts’)
@contains(triggerBody()?[‘title’],’refund’)
@greaterOrEquals(triggerBody()?[‘msfp_npsscore’],9)
@lessOrEquals(triggerBody()?[‘msfp_npsscore’],5)
@or(contains(triggerBody()?[‘title’],’Refund’),contains(triggerBody()?[‘title’],’Credit’))
@and(contains(triggerBody()?[‘title’],’Refund’),contains(triggerBody()?[‘title’],’Credit’))
The post Trigger condition expression example for each field Datatype in Power Automate appeared first on Microsoft Dynamics 365 Blog.
]]>