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 For...
Power Automate
Unanswered

Condition based on Form answer, not recognized

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone,

 

I am triggering the Power Automate flow via a MS Form submission where I am asking the following question:

 

Q: For which outlet was this inspection conducted?

Answer 1: Location 1

Answer 2: Location 2

 

Now, the flow has a condition logic where I check if the submitted answer equals "Location 1", and if yes do abc. If the submitted answer is NOT equal to "Location 1", then I know its for location 2 which means I want to do xyz.

 

The error I am getting is this:

"One or more fields provided is of type 'Null', a different type is expected."

 

Which cant be since its a mandatory question and either "Location 1" or "Location 2". What am I doing wrong here? 

 

patrickmau_0-1665057423071.png

 

patrickmau_1-1665057476072.png

 

Categories:
  • Paulie78 Profile Picture
    8,424 Moderator on at

    And if you look in the run history, at the set variable action, what has the value been set to?

  • patrickmau Profile Picture
    2 on at

    Value: Location 1

     

    The spelling of the variable / value is correct, that should not be the issue. Whats stumping me here is that the error says the value is NULL, which simply cant be.

  • RayC99 Profile Picture
    2 on at

    Hi, Just wondering if you ever came up with a solution to this? I'm having the same issue on a form with a basic 'Yes / No' question - I've checked for spelling, capitalisation, rogue spaces ... it just will not recognise and apply the condition! 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard