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.

EnvelopeStatusScheduler Class

The ind_docgen_api.EnvelopeStatusScheduler class schedules Envelope Status updates.

Namespace

Example

1ind_docgen_api.EnvelopeStatusScheduler envelopeScheduler = new ind_docgen_api.EnvelopeStatusScheduler();
2System.schedule('Update Docusign Envelope Job 1', '0 0 * * * ?', envelopeScheduler);
3System.schedule('Update Docusign Envelope Job 2', '0 15 * * * ?', envelopeScheduler);
4System.schedule('Update Docusign Envelope Job 3', '0 30 * * * ?', envelopeScheduler);
5System.schedule('Update Docusign Envelope Job 4', '0 45 * * * ?', envelopeScheduler);

EnvelopeStatusScheduler Methods

The following are methods for EnvelopeStatusScheduler.

execute(ctx)

Executes the scheduled Apex job for Envelope Status Updates.

Signature

public void execute(System.SchedulableContext ctx)

Parameters

ctx
Type: System.SchedulableContext
Contains the job ID.

Return Value

Type: void