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

Updating Sharepoint item after filter

Hi there,

 

I have been scratching my head over this for about a week now.

 

I am trying to do something very basic but I can't for the life of me get it working.

 

Here is my flow so far:

Screen Shot 2019-05-28 at 8.08.07 AM.png

 

Filter: 

equals(empty(item()?['ASSET ID']), bool('False'))

 

If 'ASSET ID' is empty ignore - this ignores empty rows in the table

 

Screen Shot 2019-05-28 at 9.31.51 AM.png

 

Condition:

empty(body('Get_items')?['value'])

Screen Shot 2019-05-28 at 9.35.49 AM.png

Update Item: Id

item()?['UNIQUE_ID']

I had to use an expression as no dynamic content was available except ID (which didn't work either).

 

The create item works fine - it is when I run the update item that the error 'Not Found'

 

I want to use either 'ASSET ID' or 'UNIQUE_ID' to identify the item in the SharePoint list - am I missing something really basic?

 

Thanks for the help in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: Updating Sharepoint item after filter

Hi @DesignerMat ,

You should use the dynamic content 'ID' from the ‘Get items’ in the 'Update item' action.

Capture8.PNG

Best Regards,

Community Support Team _ Zhongys

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

1 REPLY 1
v-zhos-msft
Level 10

Re: Updating Sharepoint item after filter

Hi @DesignerMat ,

You should use the dynamic content 'ID' from the ‘Get items’ in the 'Update item' action.

Capture8.PNG

Best Regards,

Community Support Team _ Zhongys

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 223 members 5,264 guests
Please welcome our newest community members: