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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Returning null value

(0) ShareShare
ReportReport
Posted on by 17

Hi

 

I have 2 variables that are strings. the flow runs smoothly up until it needs to add a row in excel.

it outputs values as null when it shouldn't, all sections of form has been filled out.

do i need to add a formula/expression to each value?

 

AI14_1-1693558365420.png

 

 

outcome - used for switch

responses - used for condition output

 

AI14_0-1693558244121.png

 

please assist.

 

kr

AI14

 

Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at

    As stated in the error message, the date value you entered into the parseDate function is null.

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @AI14 

     

    Before parsing date, you need to check if the input value is null or not. You may use below expression to fix this issue:

    if(equals(item()?['DateCol'],null),'',parseDateTime(item()?['DateCol']))

    pls replace item()?['DateCol'] with actual variable in the above expression.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • AI14 Profile Picture
    17 on at

    would it be easier if i changed the response variable from string to array or something? then used another set variable to hold all the data?

     

    would this allow me to choose data from the form based on that one variable?

     

    kr,

    AI14

  • AI14 Profile Picture
    17 on at

    But the value is not empty?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard