Review the following expression rule:
union(ri!fruit, ri!vegetables)
The rule inputs are configured as text arrays.
What is the expected output?
A . All items in ri!fruit followed by items in ri!vegetables, including duplicate values.
B . Only items that are in both ri!fruit and ri!vegetables.
C . All items in ri!fruit and ri!vegetables combined, with duplicates removed.
Answer: C
Explanation:
The union() function in Appian combines the elements of two or more arrays into a single array, removing any duplicate values. Given that the rule inputs ri!fruit and ri!vegetables are configured as text arrays, the expected output of union(ri!fruit, ri!vegetables) would be an array containing all unique items from both ri!fruit and ri!vegetables, with any duplicates removed. This function is useful for combining lists without repetition, ensuring a clean, unique set of elements.
Reference: Appian Documentation – Expression Functions
Latest ACD101 Dumps Valid Version with 59 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund