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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

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 the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (74,129)