Can someone advice on how to use UiPathTeam.SharePoint.Activities Add List Item action to copy items from one list to another list?

I am trying to read from a list items and then while during the For Each item looping, add a new item to another list (but getting error below).
image

I am just trying to add new item with the ID from the original item I am reading from using the Add List Item action. PropertiesToAdd field I am using:

New Dictionary (Of String, Object) From {
{“Title”, item(“ID”).ToString}
}

Can someone tell me where I did wrong? Thank you very much!

Hi @hwah

It seems like the given key “ID” does not exist in the dictionary you are referring to get the value out. Check whether you have specified the name correct or if it contains any spaces…

1 Like