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?
outcome - used for switch
responses - used for condition output
please assist.
kr
AI14
But the value is not empty?
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
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
As stated in the error message, the date value you entered into the parseDate function is null.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional