How to Update the Share point List item using Moder Activity

Hi Here i am trying to update the Share point list item of Status column from ‘Submitted’ to ‘Complete’ and i am using the Update single list item activity but how to get the list Item ID and if any one tell me how to update the status with modern activity

Thanks

@adarsh_kotagiri

Follow below steps,

  • Use get List item
  • Apply filter based on your status Submitted or any other value related that item
  • From that you can get the id.
  • Use Update single List item activity and pass the id and change the value from submitted to Completed

Hi @adarsh_kotagiri

To update the SharePoint item, first use Get List Items to fetch the record and get its ID (for example listItems(0)("ID")). Then pass this ID into the Update List Item activity and set the Status field to “Complete”. In short, you first retrieve the item to get its ID, then use that ID to update the Status.

i am following the below steps

Steps:

But getting this issue

image

Thanks.