Document Generation
Allows generating documents either manually or automatically based on specified criteria. You can use this activity to generate customized documents dynamically, based on specific conditions and requirements.
This activity applies specifically to workflows involving Contract objects.
Example:
In a CLM system, the legal team can use the Document Generation activity to automatically create documents based on specific conditions. For instance, when the contract type is "Sales Agreement" and the client status is "Verified," a PDF contract is generated with a "Draft" watermark.
Properties and activity information
Properties represent the values used to perform the operations of an activity and Entry Criteria serve as conditions that determine whether an activity should be executed.
Field |
Description |
---|---|
Details | |
Display Name | Enter the name of the activity. |
Reference Name | Enter the technical name of the activity. If left blank, the system automatically generates it based on the value in the Display Name field. The generated name removes special characters, eliminates spaces, avoids consecutive underscores, and joins words with a single underscore. |
Description | Provide a description that is relevant to the activity. |
Properties | |
Select Generation Type |
Select how to generate the document. Based on your selection, the system displays the remaining input elements on the screen.
|
Include Watermark |
Select this option to add a watermark to the generated document. |
Watermark Text |
Enter the text you want to display as a watermark. You can also include variables, formulas, or context fields to dynamically generate the watermark text. |
Select Output Format |
Select the output format for the document: DOCX, PDF, or PDF/A. The system automatically selects the most suitable template based on your configuration. |
Select Protection Level |
Set the level of user permissions for the document. This option is available only for the DOCX output format. |
Entry Criteria | |
Entry Criteria |
Set the conditions that must be met to trigger the workflow.
To add more conditions, click Add Criteria. To remove all conditions, click Remove All. |
Switch to New Entry Criteria | You will see this toggle only when editing an activity in an existing workflow. Enabling this toggle upgrades the activity to the new IntelliSense Criteria Builder and migrates the old criteria. If the migration fails, you must correct the criteria for a successful conversion or continue using the older version indefinitely. Once switched, you cannot revert to the older Criteria Builder. |
Filter Expression |
By default, the application applies AND logic to all criteria. You can adjust this to create more complex logical expressions if needed. You can customize your logic using parentheses, AND, OR, and NOT. For example, if you enter “(1 AND 2 AND 3) OR 4”, the system will evaluate whether all three of the first conditions are true, or if the fourth condition is true. |