...
Execution: The example below is an execution where the first runbook returned by List Runbooks activity is used as input for Get Runbook Parameters activity and extracts the runbook parameter direction:
List Events
This activity lists all the events from the Microsoft Orchestrator Server.
Activity Parameters
The List Events activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- End Date (calendar editor type) (type: string): the end date for which you want to obtain events from the Orchestrator Server. The accepted format should be selected as in the given example:
- Start Date (calendar editor type) (type: string): the start date for which you want to obtain events from the Orchestrator Server. The accepted format should be selected as in the given example:
The Read Only Output variable are the possible output values that the activity will provide:
- Output (type: collection<dictionary<string,string>>): returns a collection of dictionaries containing the Id, Type, CreationTime and Summary for each event found. In order to use the output you can iterate through the elements and use the GetKeyValuePair activity with the keys: Id, Id, Type, CreationTime and Summary.
Execution: The example below is an execution where all the events are listed between 01/02/2016 - 02/02/2016 dates:
In order to extract the values from the output parameter, For Each and GetKeyValuePair activities are used to extract the value for the Name key: