cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sjcitpro
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

sjcitpro
Level: Powered On

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,548)