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 Platform Community / Forums / Power Automate / Condition based on a f...
Power Automate
Unanswered

Condition based on a form answer

(0) ShareShare
ReportReport
Posted on by 18

Hello-

 

I am having an issue with this flow.  I want it to look at the answer to the question and if the answer is "New Response" then it would add a row.  If the answer was not "New Response" I want it to update the row. I checked the excel spreadsheet and it shows as "new response". It seems like it is not actually looking at the answer - the flow keeps jumping to the "no" scenario and trying to update a row that isn't there.  Please help?

aohman_2-1701376780308.png

 

aohman_1-1701376727459.png

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @aohman 

     

    Your both response is text data type? Try string() expression on both sides of the IF condition to covert to string and check.

     

    Thanks

  • aohman Profile Picture
    18 on at

    Hello!

    I am not sure what you mean - I am a very beginner on this.  I tried to put String() on both sides of the condition.  It won't let me do it on the "is equal to" side.  If I just run it with the string on the right side it still shows the error of it can't find a row to update.

    aohman_0-1701383628608.png

     

    aohman_1-1701383671241.png

     

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    image.png

     

    On the left hand side click expression

    type string()

     

    Place your cursor inside brackets then click Dynamic content and map the Dynamic value.

     

    On the right hand side condition under the expression use the below

    string('New Request')

     

    Thanks

  • aohman Profile Picture
    18 on at

    I got the string to work, but it is still not working.

    The right hand side is:  String(outputs('Get_response_details')?['body/r3de4e865cae540fd93ad57ca6d743f5c'])

    The left hand side is:   STRING('New request')
    It is still looking for a row to update.

    aohman_1-1701384409737.png

     

    aohman_0-1701384282625.png

     

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Try to change STRING() to String(). Do not use the capitals.

     

    Where the error is getting. Looks like you got some wrong mapping here. Expand the IF condition and show me which step you getting the error. 

     

    Thanks

     

     

  • aohman Profile Picture
    18 on at

    Figured it out! The response had a space behind it string('New Request ') in order for it to match.

     

    Thank you for your help!

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @aohman 

     

    Thanks for letting me know. You can use the trim() expression to truncate the spaces.

     

    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

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 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard