Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Get Email Details from Exchange Server activity

Get Email Details from Exchange Server activity

The Get Email Details from Exchange Server activity performs a search for emails in the designated Exchange server(s) using the search queries defined, and returns details from the subject, recipient, and sender parameters.

Input variables

Input variables determine the initial behavior of the activity.

Variable Description
targetId Mandatory target host identifier field where the Exchange Server is located.
search_query Mandatory search query used to find emails in the Exchange Server across all mailboxes.

Output variables

The output variables contain data that can be used in subsequent activities.

Table 1. Output variables
Variable Description
response Email details retrieved for each email found for the given search query.

Exit Conditions

Possible exit conditions for this activity are:

Table 2. Exit Conditions
Variable Description
No emails found When the email count is zero, no emails were found for the given search query.
Threat emails found When the email count is greater than zero, and email details were returned for the given search query.
Error executing at exchange When an error occurred while executing the powershell script in the Exchange Server.

This site is scheduled for a small content update on Monday, November 19th, between the hours of 3:30pm and 5:00pm Pacific Time (Nov 19 23:30 – Nov 20 1:00 UTC). Acces to this site may be slightly delayed during that time.