Using Composer with Orchestrate
As part of a process, a Generate Document step automatically generates a document using a mix template or a Conga Composer template, solution, or button and saves the resulting document to the process object in Salesforce. A Generate Document step can also reference a Conga Sign-integrated Composer solution or button to generate and send a document for e-signature.
- A valid license to Conga Composer or Collaborate is required to create a Generate Document step. A Conga Sign license is also required to create and send a document for e-signature.
- A single Composer document can be generated within a single Orchestrate definition at a time. To send documents in bulk, you must purchase Conga Trigger or Conga Batch events.
- If a document takes more than two minutes to generate in Composer, you cannot use a Generate Document step and must use the Composer UI or Batch/Trigger to generate your document.
To create a Generate Document step
Using Conga Composer to Generate Documents
When you choose Conga Composer as the selected application, the options available must be from the same object type as the definition to which you want to add a Generate Document step. Document generation occurs in background mode.
The Source picklist allows you to choose one of the following options:
- Template: Uses the process object’s ID as the master object record.
- Solution: Uses the Custom Button URL field on the selected solution record.
- Custom Button: Uses the configured button URL. Only button URLs that begin with "/apex/APXTConga4__Conga_Composer" will display as options.
For Solution and Custom Button options:
- You must predefine a template in the Composer solution or button with the TemplateID parameter.
- Allowed merge fields are process object and user merge fields in parameters.
- When creating a Composer solution or button URL to use for a Generate Document step, the button URL can only contain merge fields that start with
"{!User.", "{!ProcessObject." (object definition is triggered by), "{!Today()}", and "{!Now()}"
. Other merge fields or formulas in the button URL are not supported. - Template fields are also supported.
- Embedded URL formulas are not supported.
- A workaround is to build a formula field on the process object and include it in the URL.
When using a lookup field as the value of the OFN parameter, only the record ID displays as the file name. A workaround is to use a QVar to pull in the record name.
Using Conga Composer and Conga Sign to Generate and Send Document for E-Signature
A Generate Document step that references a Conga Sign-integrated Composer solution or button generates and sends a document for e-signature with Conga Sign. Follow the same steps in the Using Conga Composer to Generate Documents section above to use a Conga-Sign integrated Composer solution or button.
The Composer solution or button must also contain required Conga Sign integration parameters to create and send a Conga Sign transaction with Conga Orchestrate. A Conga Sign-integrated Composer solution or button referenced in a Create Document step functions in full background mode. Add the required parameters below to your Composer solution or button.
- TemplateID
- APIMode=3. If you are using V2 Composer Endpoint, set DS7=1142
- CSRecipient
- CSVisible = 1