Create a workflow that connects two lists (insert, update)

kuehnsa1 1 Reputation point
2022-04-08T11:28:02.763+00:00

Dear Community

I have to create a workflow in SharePoint Desinger that kind of connects two lists. In my example list_1 and list_2.

The workflow has to output two essential things:

1) If an item exists or if I add an item to list_1, that doesn't exist in in list_2 -> than insert this item to list_2

2) If I update an entry in list_1, that already exists in list_2 > than update this item to list_2

Currently for testing i created following columns in list_1 and list_2

  • list_1: title, unique_id_list_1, unique_id_list_2
  • list_2 list: title, connected_id_list_2

I would be so thankful, if anyone could help me to define the the right conditions (Step-for-Step) to the workflow.

Have a nice day.

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,466 Reputation points
    2022-04-17T06:18:02.623+00:00

    Hi @kuehnsa1 ,

    Here is a similar thread for reference: Updating Items in Another List.

    You could leave the variable and change others by your fields:

    193618-1.png

    193619-2.png

    193671-3.png

    193620-4.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.