cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,466)