Hi All,
Is there a way to subtract the users in list 1 from the users in list 2 and return list 1 after subtraction?
Discussion posts and replies are publicly visible
Not sure if the question is worded properly but did you try the difference function? https://docs.appian.com/suite/help/24.1/fnc_set_difference.html
hi shubhamy0005 may i know what is the type of user list you are holding ?
Hi Abhishek Karumuru , the list is of type users.
Hi Mathieu Drouin ,
The difference function is working fine here but when using list of users it does not give the correct output.
Hello shubhamy0005
hoping that your lists are of same type, below is the code that I have tested and working. update the data values with your lists and verify.
a!localVariables( local!data1: a!groupMembers(groupI11).data, local!data2: a!groupMembers(groupI12).data, symmetricdifference(local!data2,local!data1) )
Hi Konduru Chaitanya, unfortunately it is not working as well for the list of usernames.
Could you please share the data that you have in both the lists if it is not sensitive.
It works fine for me. Are you sure, your list of users is in the correct type?
Could you please share your code?