Skip to main content

BuildEWSQuery

This Script is part of the Microsoft Exchange On-Premise Pack.#

Returns an EWS query according to the automation's arguments.

Script Data#


NameDescription
Script Typepython
Tagsews

Inputs#


Argument NameDescription
fromThe value of the email's From attribute.
subjectThe value of the email's Subject attribute.
attachmentNameThe value of the email's attachmentName attribute.
bodyThe value of the email's Body attribute.
searchThisWeekWhether to limit the search to the current week. Must be "true" or "false".
stripSubjectRemoves the prefix from the subject of reply and forward messages (e.g., FW:).
escapeSemicolonsWhether to escape the semicolons. Must be "true" or "false".

Outputs#


PathDescriptionType
EWS.QueryThe result query.string