You are here:
Get the Status of an Async Out-of-Sequence Endorsement
Use InsPolicyService:getOutOfSequenceEndorsementStatus to retrieve the current status of an out-of-sequence-endorsement async job.
Here are the possible status values:
| Async Job Status | What It Indicates |
|---|---|
| WaitingToProcess | The job is in the queue. |
| InProgress | The job is in progress. |
| Success | The endorsement is completed and new policy versions are created. |
| Failed | The endorsement failed. |
| Aborted | The admin stopped the job. |
The most common errors in asynchronous out-of-sequence endorsement processes occur because of issues with the Apex job. Reviewing the async job status can help you determine if the endorsement failed or the admin stopped the async job. You can then connect with the administrator to learn the details.

