Hello @jay312 ,
Below Flow design should be able to help you with achieving your ask-
Taking your example, lets say, Trigger is on when an item is created in List 1
city = null
Now, in list 2, we already have an item with email as 'firstname.lastname@example.org' and has city as 'ABC'
We will use 'Get Items' to pull all the items that are in List 2, for us to perform the comparison-
Now, we need the Condition-
The condition has to be as follows-
If- 'Email' of List 2 is equal to 'Email' of List 1, and
'City' of List 1 is equal to 'null' -- the second condition, is to avoid the run to update the city, if in case you have created item in List1 with city name already. This will help us choose only those records, where city is empty, and email matches in both lists.
You can find these when you choose Dynamic Content, there they have headers mentioned in Grey, from which action are they pulling the value-
Now, under 'If yes', we need to update the item of List 1(newly created), so we will choose all dynamic content for List 1, like 'ID',and 'Email', but for City, we will choose value 'City' from List 2, which we got as matching from the 'Get items' comparison-
Please test and let me know if that works for you, or if you have any confusion with steps mentioned above
@jay312 , this is expected - since it will check all the possible items in list, there will be only one instance where the condition will be true, and it will update the City, while others will be a false condition and it will fail the check inside the run.
The concern should arise, if there is an item that should get updated, and this Flow is not updating it.
Let me know if this helps.
Hi @jay312 ,
You should check the expression empty(expression of city) with true.
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!