...
- Connect to Orchestrator
- Disconnect from Orchestrator
- Get Runbook
- Get Runbook Instance Parameters
- Get Runbook Instances
- Get Runbook Parameters
- List Events
- List Jobs
- List Runbook Servers
- List Runbooks
- Start Runbook
- Stop Job
...
In order to extract the values from the output parameter, For Each and GetKeyValuePair activities are used to extract the value for the Name Type key:
List Jobs
This activity lists jobs according to a given filter. all the events from the Microsoft Orchestrator Server.
Activity Parameters
The List Events Jobs activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- End Date (calendar Status Filter (combobox 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: : filter Jobs by their status:
- All - if you want to select all jobs (with status: Completed, Pending, Running)
- Running - to return only active jobs.
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, Status, CreatedBy and CreationType for each job found. In order to use the output you can iterate through the elements and use the GetKeyValuePair activity with the keys: Id, Status, CreatedBy and CreationType.
Execution: The example below is an execution where all the jobs are listed:
In order to extract the values from the output parameter, For Each and GetKeyValuePair activities are used to extract the value for the Status key:
List Runbook Servers
This activity lists all the runbook servers from the Microsoft Orchestrator Server.
Activity Parameters
The List Runbook Servers activity parameters can be provided by manual inserted values or via IN arguments or variables:
The Read Only Output variable are the possible output values that the activity will provide:
- Output Output (type: collection<dictionary<string,string>>):returns returns a collection of dictionaries containing the the Id , Type, CreationTime and Summary Name for each event Runbook Server found. In order to use the output you can iterate through the elements and use the GetKeyValuePair activity the GetKeyValuePair activity with the keys:Id, Id, Type, CreationTime and Summary Id and Name.
Execution: The example below is an execution where all the events runbook servers are listed between 01/02/2016 - 02/02/2016 dates:
In order to extract the values from the output parameter, For Each and and GetKeyValuePair activities activities are used to extract the value for the Name Name key: