Need:
- send list item from List A to list B (same subsite)
- if user modifies item in list A, item in list B is updated (and a new item is NOT created in list B)
Current WF:
- query running to gather unique integer from list B stored in variable_1
- Switch action evaluating value in variable_1
Problem:
What do I put in the branchs for value 1 and value 2?
switch action can not compare against variable.
you have to provide constant literals.
your better option would be run if or set a condition actions
Hello Daniel Gonski​ -
If I am understanding this correctly, on create or modify, kick off the workflow. Check if the item exists in ListB, if it does, update ListB, if not, create new in ListB.
There are a lot of different ways to accomplish this, but if you want to keep it simple, perhaps create two workflows. One triggered on create and one triggered on modify. This way you can add in all your logic for each in its own workflow. Just keep in mind that you will need to have a unique identifier that relates the item in both lists.
Hope this helps!