Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Connect to Orchestrator

This activity connects to the Microsoft Orchestrator Server.

...

In order to extract the values from the output parameter, For Each and GetKeyValuePair activities are used to extract the value for the Id key:

 

Start Runbook

This activity starts the specified Runbook.

Activity Parameters

The Start Runbook activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Added

Parameters:

  • Parameters collection (collection editor type) (type: string): specify the parameters you want to send with the request. 
  • Runbook Id (text box editor type) (type: string): the runbook Id for which you want to obtain details. The accepted format should be written as in the given example: 
    Image Added

    The value also can be obtained from the List Runbooks activity, using a sequence like the following to extract the Id for the desired Runbook from the output returned by List Runbooks activity:

    Image Added Image Added

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): returns the resulting JobId of the started runbook. 

 

Execution: The example below is an execution where the started runbook JobId is returned:

Image Added

 

 

 

Stop Job

This activity stops the specified running Job.

Activity Parameters

The Stop Job activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Added

Parameters:

  • Job Id (text box editor type) (type: string): the job Id that you wish to stop. The accepted format should be written as in the given example: 
    Image Added

    The value also can be obtained from the List Jobs activity, using the filter Running and using a sequence like the following to extract the Id for the desired Job from the output returned by List Jobs activity:

    Image Added Image Added

The Read Only Output variable are the possible output values that the activity will provide:

  • Output Result (type: boolean): returns whether the operation succeeded or not. 

 

Execution: The example below is an execution where a running job is stopped:

Image Added