Compliance

1 minute readReference

getComplianceGateDecision

[PREVIEW] This API is in preview mode, and therefore subject to change. Sends gate request to compliance and retrieves a decision.

Arguments

Argument Name Type Description

externalApplicationId

String

Unique identifier for the application maintained by an external system that will be used to identity the application being deployed by the CD/RO pipeline in Compliance. (Required)

flowRuntimeStateId

String

The ID of the flow runtime state. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getComplianceGateDecision( externalApplicationId: 'test-externalApplicationId', flowRuntimeStateId: 'test-flowRuntimeStateId')