UiPath Automation Developer Professional v1 — Question 22
To retrieve all Outlook emails with the word "UiPath" in the subject, which filtering property and filter schema should a developer use?
Answer options
- A. Property: FilterByMessageIds - Schema: "@SQL=""urn:schemas:httpmail:subject'"' like 'UiPath%'"
- B. Property: Filter - Schema: "@SQL=""urn:schemas:httpmail:subject"" like 'UiPath%'"
- C. Property: Filter - Schema: "@SQL=""urn:schemas:httpmail:subject"" like '%UiPath%'"
- D. Property: FilterByMessageIds - Schema: "@SQL=""urn:schemas:httpmail:subject"" like '%UiPath%'"
Correct answer: C
Explanation
The correct answer is C because it uses the Filter property along with the correct schema that allows for matching 'UiPath' anywhere in the subject line, as indicated by the '%' wildcard on both sides. Options A and D incorrectly utilize FilterByMessageIds, which is not suitable for this purpose, and option B does not account for the wildcard placement, limiting the search to subjects that start with 'UiPath'.