web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Conditions issues

(0) ShareShare
ReportReport
Posted on by 5

Hi

 

I'm building a flow where I want to set 3 conditions before sending out an email. I want to send out an email when a person has birthday and reaches a specific age (61 in this example) I have succeeded with the the first two conditions (day and month) but the final one where I look at a calculated column that calculates a persons age it fails. I'm far from an expert and just uses bits and pieces from the internet to put the different flows togheter. I have used dynamic content when looking at the calculated colum age (Antall år) and I want to meet all three conditions; dd, mm and 61

 

Any advice?

 

mgms_0-1644928685974.png

 

ERROR MESSAGE:

Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'contains' expects parameters of matching types: a dictionary and a key (string), an array and a value (object), or a string and a substring. The provided types 'String' and 'Integer' are incompatible.

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @mgms 

    One way to solve this is to replace 61 in your condition with the following expression:  string(61)

    image.png

     

     

  • pandeysuyash Profile Picture
    58 on at

    Hey mgms,

     

    To fix this issue immediately you need to put 61 between singles quotes like this '61'

     

    On a different note

    It seems to me that you are comparing age so I would suggest using a mathematical operator like less than 61 instead. You have used contains instead.

     

     

  • mgms Profile Picture
    5 on at

    If anyone else struggles you need to compose the output you want to match and use that when setting up conditions

    mgms_0-1644936919677.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard