Skip to content

Commit d2835a7

Browse files
committed
match dc step numbers
1 parent b07b5ec commit d2835a7

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

src/main/java/com/docusign/controller/eSignature/examples/EG032ControllerPauseSignatureWorkflow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ public EG032ControllerPauseSignatureWorkflow(DSConfiguration config, Session ses
4444
@Override
4545
protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse response) throws ApiException, IOException {
4646

47-
// Step 1: Construct your API headers
47+
// Step 2: Construct your API headers
4848
EnvelopesApi envelopesApi = createEnvelopesApi(this.session.getBasePath(), this.user.getAccessToken());
4949

50-
// Step 2: Construct your envelope JSON body
50+
// Step 3: Construct your envelope JSON body
5151
EnvelopeDefinition envelope = createEnvelope(args);
5252

53-
// Step 3: Call the eSignature REST API
53+
// Step 4: Call the eSignature REST API
5454
EnvelopeSummary results = envelopesApi.createEnvelope(this.session.getAccountId(), envelope);
5555

5656
this.session.setEnvelopeId(results.getEnvelopeId());

src/main/java/com/docusign/controller/eSignature/examples/EG033ControllerUnpauseSignatureWorkflow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ public EG033ControllerUnpauseSignatureWorkflow(DSConfiguration config, Session s
4040
// ***DS.snippet.0.start
4141
protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse response) throws ApiException {
4242

43-
// Step 1: Construct your API headers
43+
// Step 2: Construct your API headers
4444
EnvelopesApi envelopesApi = createEnvelopesApi(session.getBasePath(), user.getAccessToken());
4545

46-
// Step 2: Construct your envelope JSON body
46+
// Step 3: Construct your envelope JSON body
4747
Workflow workflow = new Workflow();
4848
workflow.setWorkflowStatus(EnvelopeHelpers.WORKFLOW_STATUS_IN_PROGRESS);
4949

@@ -53,7 +53,7 @@ protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse
5353
EnvelopesApi.UpdateOptions updateOptions = envelopesApi. new UpdateOptions();
5454
updateOptions.setResendEnvelope("true");
5555

56-
// Step 3: Call the eSignature REST API
56+
// Step 4: Call the eSignature REST API
5757
EnvelopeUpdateSummary results = envelopesApi.update(
5858
this.session.getAccountId(),
5959
this.session.getEnvelopeId(),

src/main/java/com/docusign/controller/eSignature/examples/EG034ControllerUseConditionalRecipients.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,16 @@ public EG034ControllerUseConditionalRecipients(DSConfiguration config, Session s
4444
}
4545

4646
@Override
47+
// ***DS.snippet.0.start
4748
protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse response) throws ApiException, IOException {
4849

49-
// Step 1: Construct your API headers
50+
// Step 2: Construct your API headers
5051
EnvelopesApi envelopesApi = createEnvelopesApi(this.session.getBasePath(), this.user.getAccessToken());
5152

52-
// Step 2: Construct your envelope JSON body
53+
// Step 3: Construct your envelope JSON body
5354
EnvelopeDefinition envelope = createEnvelope(args);
5455

55-
// Step 3: Call the eSignature REST API
56+
// Step 4: Call the eSignature REST API
5657
try {
5758
EnvelopeSummary results = envelopesApi.createEnvelope(this.session.getAccountId(), envelope);
5859
this.session.setEnvelopeId(results.getEnvelopeId());
@@ -225,4 +226,6 @@ private static RecipientRouting createRecipientRouting(WorkArguments args) {
225226
recipientRouting.setRules(recipientRules);
226227
return recipientRouting;
227228
}
229+
230+
// ***DS.snippet.0.end
228231
}

0 commit comments

Comments
 (0)