Exam4Training

To retrieve all Outlook emails with the word "UiPath" in the subject, which filtering property and filter schema should a developer use?

To retrieve all Outlook emails with the word "UiPath" in the subject, which filtering property and filter schema should a developer use?
A . Property: FilterByMessagelds
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: FilterByMessagelds
Schema: "@SQL=""urn:schemas:httpmail:subject"" like ‘%UiPath%""

Answer: B

Explanation:

To retrieve all Outlook emails with the word “UiPath” in the subject, a developer should use the Filter property and the filter schema “@SQL=”“urn:schemas:httpmail:subject”" like ‘%UiPath%’“. The Filter property allows developers to specify a DASL query that filters the emails based on various criteria, such as subject, sender, date, etc. The filter schema “@SQL=”“urn:schemas:httpmail:subject”” like ‘%UiPath%’" uses the SQL dialect of DASL to search for emails that have the word “UiPath” anywhere in the subject. The “%” symbol is a wildcard that matches any character or string. (UiPath Automation Developer study guide).

References: Get Outlook Mail Messages

Chapter 11: Searching Outlook Data | Microsoft Learn

Exit mobile version