Hi there, @naveenreddyla… if I understand your post correctly, give this advanced filter a shot (ignore the references to index’s because I used a custom state in the example just so I could build out the expression), and see if it produces the desired result.

I might be overthinking/complicating this one, but the filter is counting the items that are the same in both lists and seeing if that count is equal to the count of the number of items in one of the lists while also making sure the lists have the same number of items in them (regardless of whether or not the items are the same). If both of those things are true, the group that is being created is the same as an existing group, and the condition should stop the creation of the new group.

Oh, and just food for thought… you might want to consider putting the Only when condition on the workflow event (i.e., on the button click) as to opposed to having it on the create action within the event.

Hope this helps.

Best…
Mike

3 Likes