cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Want to update list item with Flow using IF

I am trying to check if a list item is empty and if so set it to null.  I am updating a Word template and if the Sharepoint item is not entered then the Word placeholder shows up instead.  I am trying to detect for such and create an empty entry in the word file. I have tried @equals(if(equals(triggerBody()?['Depart1'],null),'',triggerBody()?['Depart1'])) without success, having a hard time undestanding the Flow expression syntax.

 

Untitled.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Want to update list item with Flow using IF

Hi @sjcitpro ,

 

Have you checked below documentation? 

https://flow.microsoft.com/de-de/blog/use-expressions-in-actions/

 

Also, this is PowerApps community, for future Flow issue, please post in Flow community:

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Want to update list item with Flow using IF

Hi @sjcitpro ,

 

Have you checked below documentation? 

https://flow.microsoft.com/de-de/blog/use-expressions-in-actions/

 

Also, this is PowerApps community, for future Flow issue, please post in Flow community:

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper III
Helper III

Re: Want to update list item with Flow using IF

Thanks Mona, I found the Flow group.  Here is my solution, if(equals(triggerBody()?['Depart1'],null),'',triggerBody()?['Depart1'])

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,800)