Hello,
I would like to implement a "set" data structure in appian.
My use case prefers a "set" data structure as opposed to a list or dictionaries, because a set only contains unique values, or in my use case, unique sets.
I tried to search in the documentation, but to no avail.
Discussion posts and replies are publicly visible
I don't think there is a set data structure per-se, but you could implement one using a simple rule that takes in your set and the values you are trying to insert (you may need to augment the example for more robust error handling and edge cases) and returns the resulting set:
union( ri!existingSet, ri!dataToInsert )