title: DocuSign API Adding TemplateRoles to a ServerTemplate/CompositeTemplate
body: <p>I am trying to develop the following workflow in DocuSign:</p>
  
  <p>There are two documents to be signed. The first is a template with 4 signatures required by 4 roles. The second document is uploaded, docx or pdf, and will be signed after the first document is complete.In the first document the first two signers need to be provided to the template and I could make this work when all I had in the envelope was the template document. After converting this to a compositeTemplate I don't see a place to add the roles to the template document. I am also unsure how to add the signature to the second document to the workflow for the template document.</p>
  
  <p>The following is the json I am generating:</p>
  
  <pre><code>{
    "templateRoles": [
      {
        "email": "EMAIL1",
        "roleName": "ROLE1",
        "name": "NAME1"
      },
      {
        "email": "EMAIL2",
        "roleName": "ROLE2",
        "name": "NAME2"
      }
    ],
    "compositeTemplates": [
      {
        "serverTemplates": [
          {
            "sequence": "1",
            "templateId": "TEMPLATE-ID"
          }
        ]
      },
      {
        "inlineTemplates": [
          {
            "sequence": "2",
            "documents": [
              {
                "documentId": "1",
                "name": "Contract",
                "documentBase64": &lt;DOC DATA&gt;
              }
            ]
          }
        ]
      }
    ],
    "emailSubject": "[DocuSign C# SDK] - Sample Signature Request"
  }
  </code></pre>
  
  <p>The template roles aren't picked up by the servertemplate and the documents are sent to the third person in the workflow.</p>
  
  <p>Any help with this will be much appreciated.</p>