Hi
I am using a compose action to convert a date field from sharepoint in order to add it into an excel sheet. As this field is not and should not be compulsory it is often blank. for this reason the add row flow fails on any rows where this field is blank.
I need it to add the row either leaving that cell blank or inputting something like 'NA'
Solved! Go to Solution.
Hi @jemmakeir
Try this:
if(empty(outputs('ActiveDueDate')),null,outputs('ActiveDueDate'))
Proud to be a Flownaut!
Hello @jemmakeir
Yiu can try using an if() expression in that date field. Something like:
if(empty(‘Your Date’), ‘null’, ‘Your Date’)
note that ‘Your Date’ is your dynamic content for the date. And the ‘null’ this the expression null
Proud to be a Flownaut!
Thanks, I tried this but it states expression is invalid: if(empty(‘outputs('ActiveDueDate')’), ‘null’, ‘outputs('ActiveDueDate')’)
Hi @jemmakeir
Try this:
if(empty(outputs('ActiveDueDate')),null,outputs('ActiveDueDate'))
Proud to be a Flownaut!
perfect, thank you 🙂
@jemmakeir I have tested from my side that even the 'Due Date' is blank, the 'Add a row into a table' should still run with success.
Could you please provide a screenshot of the error you are having?
Best Regards,
Jessie Chen
Support Engineer
Asia Dynamics 365 Support
Customer Services and Support
Hi, thanks, the prior suggestion solved this issue 🙂
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
57 | |
42 | |
37 | |
33 |
User | Count |
---|---|
90 | |
73 | |
71 | |
60 | |
40 |