cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sjcitpro
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
v-monli-msft
Community Support
Community Support

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
v-monli-msft
Community Support
Community Support

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

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

 

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (45,091)