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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 722 Super User 2025 Season 2
Tomac 461 Moderator
developerAJ 283