Skip to main content

Notifications

Power Automate - General Discussion
Answered

Combining Expressions

(0) ShareShare
ReportReport
Posted on by 505

I am trying to combine these two expressions for a Trigger Condition. I verified that both work individually, but cannot seem to get them both to work together as an And statement. 

 

@equals(triggerBody()?['Status']?['Value'],'ABC'

@lessOrEquals(ticks(triggerBody()?['DateColumn']),ticks(utcNow())

  • Verified answer
    send2mark Profile Picture
    send2mark 505 on at
    Re: Combining Expressions

    I guess I didn't realize that I can combine two expressions by clicking Add a second time. That fixed my issue.

  • send2mark Profile Picture
    send2mark 505 on at
    Re: Combining Expressions

    So what you said worked in the Flow checker, but when I went to save it I received an error. at line '1' and column '1161' is not valid template language

  • abm abm Profile Picture
    abm abm 32,296 on at
    Re: Combining Expressions

    Hi @send2mark 

     

    Try the below

     

    and(equals(triggerBody()?['Status']?['Value'],'ABC'),lessOrEquals(ticks(triggerBody()?['DateColumn']),ticks(utcNow())))

     

    Thanks

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard