I created an instant flow on a SharePoint list. I made some fields not mandatory. The flow failed when a user did not fill out ALL fields. What is going wrong? I intentionally did not fill out the column called "Number" that's why the data in that field doesn't exist. Its not a mandatory field.
When all fields are filled out, then the flow runs successfully.
@WillPage Thank you. I will try that.
Yes, but you can refine the expression using the coalese() function:
coalesce(triggerBody()?['text'],'')
This will convert the null value of triggerBody()?['text'] to an empty string otherwise leave triggerBody()?['text'] as is if it's not null
Here is the expression that I am using for a text field.
Put a question mark in your expression to make it nullable e.g triggerBody()?['number']
When a property is null it's often omitted from the JSON object so doing this will make the value null whether it exists with a null value or it's simply not there.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492