Get Deployments activity
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- Orchestration
The Get Deployments activity returns the list of deployments performed by Orchestration using a Microsoft System Center Configuration Manager (SCCM) server.
The Get Deployments activity uses the Powershell activity template to access the deployments on the SCCM server. The activity is configured to use a MID Server with Powershell capabilities and to run a MID Server script called GetDeployments.ps1 that returns the deployments on the host. This script filters the results of the GET, so that only specific attributes are returned for the deployments on the SCCM server. Filtering the results in this manner controls the size of the payload, while providing the most desirable deployment data. The list of available deployments is returned as an array in a JSON object.
To access this activity in the Workflow Editor, select the Custom tab, and then navigate to .
Input variables
Variable | Description |
---|---|
sccmServer | The fully qualified domain name (FQDN) of the SCCM server. |
Output variables
Variable | Description |
---|---|
deployments | The deployments array contains these attributes:
|
error | Variable that contains the activity output error message. |
Conditions
Condition | Description |
---|---|
Success | Activity successfully retrieved the list of deployments performed by Orchestration using an SCCM host. |
Failure | Activity failed to retrieve the list of deployments performed by Orchestration using an SCCM host. |