Skip to main content
June 21, 2023
Question

How to compare list of two lists in appain {1,2,3} and {4,7,6}

  • June 21, 2023
  • 3 replies
  • 0 views

Hi all,

How to compare two lists in appain {1,2,3} and {4,7,6}

IF the Comparision true then it will write true otherwise false.

Please help me

    3 replies

    mikes0011
    Brainy
    June 21, 2023

    You haven't really told us what would merit a "comparison true" condition here.  If the lists share any common items?  All items in common but order (or repetitions) independent? All items (and counts) same but order independent?  Lists completely identical?  Something else?

    Whatever the case, you can most likely find your answer in Array Functions.

    The Expression Guru
    mathieud0001
    Brainy
    June 21, 2023

    Did you try the difference function?

    [View:https://docs.appian.com/suite/help/23.2/fnc_set_difference.html]

    harshitb6843
    June 22, 2023

    With the"=" operator. Just use this operator and it will tell you if both the arrays are the same or different. If your comparison means something else, please add more details about it.