Skip to main content

Notifications

Power Automate - Using Flows
Answered

Action "Condition" failed

(0) ShareShare
ReportReport
Posted on by 40

Hello,

 

When applying an automated feed, I get the following error:

 

Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'equals' expects two parameters: the values to test for deep equality. The function was invoked with '1' parameter(s). Please see https://aka.ms/logicexpressions#equals for usage details.'.


The flow is as follows:

 

When receiving an email in a shared mailbox, if the subject contains Automatic Reply and if the outbox is xxx@contoso.com (for example) then there is no automatic response sent .

 

To set up the flow I created a condition with expression which, if the value is true cancels the process and if the value is not true then sends an automatic email.

 

I specify that if I replace equals by contains I have the same error.

 

@Anonymous (contains(toUpper(triggerBody()?['Subject']), 'AUTOMATIC REPLY', and (equals(triggerBody()?['From']), '1234@contoso.com')))


Any idea about this error?

 

 

Thanks in advance

  • Verified answer
    Igerarts Profile Picture
    Igerarts 40 on at
    Re: Action "Condition" failed

    Solved by myself 

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,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics

Restore a deleted flow