Hi,
When using If Empty function under Select, it still gives Null (blank) value even IF condition is false.
Please advise how I can fix.
Hi @Anonymous
Could you try the following expression?
if(equals(triggeroutputs()?['Next Due'],null),null, formatdatetime(triggeroutputs()?['Next Due'], 'yyyy-MM-dd'))
Regards,
Ferran
Thanks @fchopo
but it still gave me the same result.
Try to initialize a string variable with
triggeroutputs()?['Next Due']
Will you see any errors?
Hi @VictorIvanidze
Is this what you mean?
Under 'Select'
OK it means the variable is successfully initialized. Now please show the value of NextDue variable after executing the flow.
please see below
Aha.
Use this in Select:
if(empty(variables('NextDue'),'empty', formatdatetime(variables('NextDue'), 'yyyy-MM-dd'))
It says, the expression is invalid
My bad, sorry. Use this:
if(empty(variables('NextDue')),'empty', formatdatetime(variables('NextDue'), 'yyyy-MM-dd'))
it shows as 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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 462 Super User 2025 Season 2
Tomac 456 Moderator
abm abm 243 Most Valuable Professional