What's the difference between an array and a set in Appian?

When looking at the list of available functions I see there is a list for array and one for set. I've been working with appian for a bit but I seem to use both list of functions for any array type, whether it is a list of CDTs or a list of numbers.

So, could someone explain to me what the set data type is and how it differs from an array?

If it's been asked already please send me a link. I was unable to find an answer for this when searching the site.

  Discussion posts and replies are publicly visible

Parents
  • Hi Jose,

    Array Function are used within expressions to manipulate, insert, and/or select values from arrays.
    Functions like updatearray(), append() are used to modify array .
    index() for selecting values from array based on Index.

    Whereas Set Functions are used within expressions to manipulate values from arrays. It does not modifies existing array.

    Hope it helps.

    Thanks
    Namrata
Reply
  • Hi Jose,

    Array Function are used within expressions to manipulate, insert, and/or select values from arrays.
    Functions like updatearray(), append() are used to modify array .
    index() for selecting values from array based on Index.

    Whereas Set Functions are used within expressions to manipulate values from arrays. It does not modifies existing array.

    Hope it helps.

    Thanks
    Namrata
Children
No Data