Appian Senior Developer (ACD101) — Question 5

Review the following expression rule:
union(ri!fruit, ri!vegetables)
The rule inputs are configured as text arrays.
What is the expected output?

Answer options

Correct answer: C

Explanation

The correct answer is C because the union function combines items from both arrays and removes duplicates. Option A incorrectly states that duplicates are included, and option B only considers items that are common to both arrays, not the full range of unique items.