This content applies solely to Government Source Selection, which must be purchased separately from the Appian base platform. This content was written for Appian 23.4 and may not reflect the interfaces or functionality of other Appian versions.
Introduction
Government Source Selection allows users to associate a document template with a task and auto-populate the document with data entered into Appian. This allows users to generate documents in a consistent format.
For example, once a factor's sub-factors have been evaluated, a factor chair has to create a consensus document. The Consensus Document template is provided to the user in the task. The user can click a link to generate and populate the document based on the template.
Adding new document templates
To add a template to a checklist item type:
Add a document template to AS GSS Document Template folder. See instructions for creating documents.
In the folder properties for AS GSS Document Template folder, note the folder ID.
In the document properties for each template that you added to the folder, note the document ID.
Using the folder ID and document IDs that you noted in the previous step, add an entry to the AS_GSS_R_DocumentTemplate table for each document you added to the folder. See the Document Template (add section reference link) section.
Auto-populating new document templates
If you want the template to automatically populate with the data that is entered, update the AS GSS Create Word Doc from Template process model.
To auto-populate the template with data:
Open the AS GSS Create Word Doc from Template process model.
From the Template Smart Service Document node, add a MS Word 2007 doc for each template added to AS_GSS_R_DocumentTemplate table.
In the Setup tab of the added node, add Template Configuration values and save the document to the AS GSS Temporary Document Template folder.
In the added node's Setup tab, add the fields you want to search in the template and the values you want to replace them with. You can use the sample template Capabilities Template as a guide.
In the XOR gateway Decision tab, add a new condition for each template.
In the Process Modeler, link the new node to the end node.