Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Orchestration Class

Get orchestration instances.

Namespace

ConnectApi

Orchestration Methods

These methods are for Orchestration. All methods are static.

getOrchestrationInstance(instanceId)

Get an orchestration instance associated with an orchestration instance ID.

API Version

63.0

Requires Chatter

No

Signature

public static ConnectApi.OrchestrationInstance getOrchestrationInstance(String instanceId)

Parameters

instanceId
Type: String
The ID of orchestration instance to get details for.

getOrchestrationInstanceCollection(relatedRecordId)

Get orchestration instances associated with a Salesforce record that’s configured as a context record for orchestration interactive steps.

API Version

54.0

Requires Chatter

No

Signature

public static ConnectApi.OrchestrationInstanceCollection getOrchestrationInstanceCollection(String relatedRecordId)

Parameters

relatedRecordId
Type: String
The ID of a record configured as a context record for orchestration interactive steps.

getOrchestrationInstanceCollection(relatedRecordId, relatedOrchestrationId)

Get orchestration instances associated with either a Salesforce record or an orchestration that’s configured as context for orchestration interactive steps.

API Version

66.0

Requires Chatter

No

Signature

public static ConnectApi.OrchestrationInstanceCollection getOrchestrationInstanceCollection(String relatedRecordId, String relatedOrchestrationId)

Parameters

relatedRecordId
Type: String
The ID of a record configured as a context record for orchestration interactive steps. You must specify either relatedRecordId or relatedOrchestrationId.
relatedOrchestrationId
Type: String
The ID of an orchestration configured as context for orchestration interactive steps. You must specify either relatedRecordId or relatedOrchestrationId.