Newer Version Available

This content describes an older version of this product. View Latest

checkStatus()

Checks the status of asynchronous metadata calls create(), update(), or delete(), or the declarative metadata call retrieve().

In API version 29.0, Salesforce improved the deployment status properties and removed the requirement to use checkStatus() after a deploy() call to get information about deployments. Salesforce continues to support the use of checkStatus() when using deploy() with API version 28.0 or earlier. For more information, see deploy().

Note

Syntax

1AsyncResult[] = metadatabinding.checkStatus(ID[] ids);

Usage

Use this call to check whether or not an asynchronous metadata call or declarative metadata call has completed.

Sample Code—Java

See Step 3: Walk Through the Java Sample Code for sample Java code using this call.

Arguments

Name Type Description
ids ID[] Array of one or more IDs. Each ID is returned in an AsyncResult and corresponds to a component being created, updated, deleted, deployed, or retrieved.

Response

AsyncResult[]