AnsweredAssumed Answered

Collection Variable Comparison

Question asked by mipatel on Apr 20, 2015
Latest reply on Apr 22, 2015 by christopheraucq

Hello,

 

We have a workflow which contains two collection variables,
within each collection variable it holds a listing of users which was retrieved
by querying a list which contained a people picker field.  An example
scenario would look like the following:

 

With the example above, we are looking for a way to compare
these two variables, what we need to identify are two things:

Collection Variable 1

Collection Variable 2

Tanmay, Thakar

Tanmay, Thaker

Ashish, Patel

Ashish, Patel

Joy, Christian

Chunara, Minesh

 

David, Tom

  1. Users contained in Collection Variable 2, that
    are not contained in Collection Variable 1 (in this case it is Chunara, Minesh
    and David, Tom)
  2. Users contained in Collection Variable 1, that
    are not contained in Collection Variable 2 (in this case it is Joy, Christian)

 

How could we accomplish, is there an action which could help
us achieve this?

Outcomes