Update list Item with Workflows SharePoint Designer 2013

Highlighted
New Contributor

I want to update list item in List B with value of the column in List A. in the log historic i can get the value of the column in list A with this code :

Set Variable: Domiciliation to Current Item:Domiciliation (from list A)

I want to put it in the value of the Column Entity of List B without duplication.

How can i do that PLZ?

1 Reply
Highlighted
If you set the "Force unique Values" on the list B for that column it shouldn't let you put in duplicate column data, so you would have to handle that error in the workflow.

Otherwise you have to loop through all the values in list b looking for that value of list A and if it finds one set a variable to true. Then your update step have condition based on that variable to add the item or not to list B.