FunctionCopy link to clipboard
a!deployment( deploymentUuid, property )
Returns a specific property of direct and external deployments.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Deployment |
The deployment to retrieve. The UUID is available from the post-deployment process or the deployment's log. |
|
Text |
The information to retrieve for this deployment. Properties are case-sensitive and the following properties are supported:
|
ReturnsCopy link to clipboard
Returns a specific property of a direct or external deployment which can be used in a post-deployment process.
Usage considerationsCopy link to clipboard
Using a!deployment() in environments that don't use governanceCopy link to clipboard
If you do not use governance on your environments:
- The value of the reviewer and reviewerComment properties will be null.
- The value of the decision property will be
"NOT_APPLICABLE"
. - The value of the requester property will frequently be the deployment service account for the target environment.
Using the status propertyCopy link to clipboard
You can use the status property to tell whether or not governance is enabled for an environment. If the status of a deployment is "PENDING_REVIEW"
the deployment is waiting for a reviewer to make a decision on the deployment. Learn more about deployment statuses.
Using the requester propertyCopy link to clipboard
- If the deployment was triggered by an external deployment, the value of the requester property will be
"EXTERNAL_SYSTEM"
. - If the deployment is a direct deployment from an environment that is no longer reachable, the function may not be able to determine a username and the value of requester may be null.
ExampleCopy link to clipboard
deployment(101, "reviewedDate")
returns 12/21/05 2:28 PM GMT
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Partially compatible | Can be used with offline mobile if it is loaded at the top of the form. |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |