Hello
I'm in the middle of building a flow, and whilst the flow is doing what I want it to, it keeps flagging an error.
I have a condition that confirms a value is present in the SharePoint item, it passed a string to the condition if it is present the flow continues, however, if the field is empty, it passed a null value and errors out. How can I cleanly terminate this?
Solved! Go to Solution.
@Gofunk1
I've implemented a simple TEst Flow that reads an item from a TEst List with an optional column called 'Date'
In order to avoid the error you are experiencing, I am using coalesce() expression to replace null by an empty string, and keep original column value if present
coalesce(outputs('Get_item_from_master_tracker')?['body/Date'],'')
Hope this helps
Proud to be a Flownaut!
@Gofunk1
Can you share a screenshot with the details of your Condition action block rule design?
THanx!
Proud to be a Flownaut!
I think you mean this?
@Gofunk1
I've implemented a simple TEst Flow that reads an item from a TEst List with an optional column called 'Date'
In order to avoid the error you are experiencing, I am using coalesce() expression to replace null by an empty string, and keep original column value if present
coalesce(outputs('Get_item_from_master_tracker')?['body/Date'],'')
Hope this helps
Proud to be a Flownaut!
thanks, can you share a screenshot on this, please? I'm still quite new to this and not sure how to implement your suggestion?
Hi!
I've edited my last response, you will find a screenshot there
Hope this helps
Proud to be a Flownaut!
@efialttes Thanks for the response, but how does this validate the start date column? I've tried replacing both start date entries but everything now passes as a false output regardless of if there is a date or not. I could be using the wrong value in the string function?
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
26 | |
25 | |
24 | |
23 | |
21 |
User | Count |
---|---|
61 | |
42 | |
40 | |
29 | |
24 |