DocuSign Connect
A template that counts events from DocuSign connect with a given envelope status.
Counts events from DocuSign connect with a given envelope status.
A template that counts events from DocuSign connect with a given envelope status.
Count DocuSign connect events with the status: Completed.
Count DocuSign connect events with the status: Completed.
            Count DocuSign connect events with the status: {{status}}.
            {
    "$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterClause",
    "contractId": "07b75e17-a347-48fd-a84f-31ca2a7ba046",
    "status": "Completed"
}
            namespace com.docusign.connect.counter
import org.accordproject.cicero.contract.* from https://models.accordproject.org/cicero/contract.cto
import org.accordproject.cicero.runtime.* from https://models.accordproject.org/cicero/runtime.cto
import com.docusign.connect.DocuSignEnvelopeInformation from https://models.accordproject.org/docusign/connect.cto
import com.docusign.connect.EnvelopeStatusCode from https://models.accordproject.org/docusign/connect.cto
transaction MyResponse extends Response {
  o String output
  o Integer counter
}
asset DocuSignEnvelopeCounterState extends AccordContractState {
  o Integer counter
}
/**
 * The template model
 */
asset DocuSignEnvelopeCounterClause extends AccordContract {
  /**
   * The status of the envelope
   */
  o EnvelopeStatusCode status
}
            Find the full logic for this template on on GitHub.
| Type | Sample JSON | 
|---|---|
| com.docusign.connect.counter.DocuSignEnvelopeCounterState |  | 
                
| Type | Sample JSON | 
|---|---|
| com.docusign.connect.DocuSignEnvelopeInformation |  | 
                
| Type | Sample JSON | 
|---|---|
| com.docusign.connect.counter.MyResponse |  | 
                
| Type | Sample JSON | 
|---|---|
| org.accordproject.cicero.runtime.NotificationObligation |  | 
                
Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.
View the Latest code for this template on GitHub.