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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

The expression is invalid when trying to convert Microsoft Forms response to Boolean

(0) ShareShare
ReportReport
Posted on by 6

Hi All,

 

I am trying to take a microsoft form response and record it in dataverse (NOT a SP list). Part of this involves taking a response to a question and converting it into a boolean that can be accepted by a dataverse yes/no field.

 

The forms question looks something like this:

Bathroom Cleanliness:

1. OK

2. Not OK

 

I need to convert this response into the true/false that dataverse will read. To accomplish this I am trying this function:

 

if(equals(outputs('Get_response_details')?['body/r00184bd4d501404eb9c9ef7ccb20fb1a'], "Not OK"),false,true)

 

 

Unfortunately I get the browser alert that says "The expression is invalid". For the life of me I cannot figure out why, can anyone help?

I have the same question (0)
  • ScottShearer Profile Picture
    25,240 Most Valuable Professional on at
    Re: The expression is invalid when trying to convert Microsoft Forms response to Boolean

    @DorienM 

    You have double quotes around Not OK - change them to single quotes.

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard