This topic will walk you through the steps to create a conditional clause in Workflow Designer.
Conditions in Ironclad can be thought of as rules to help guide a specific outcome. You can create conditional clauses and verbiage in your document in Workflow Designer so that they only appear when applicable and relevant to the scenario and counterparty.
Select the Best Method for Creating a Conditional Clause
In Workflow Designer, you can create a conditional clause using two methods. The best approach depends on whether you intend to use the clause in one or multiple workflow configurations.
- For clauses used in multiple workflow configurations: Add conditions to a Global Clause and store it in the Global Clause Library. To learn how to apply conditions to a global clause, see Use Clauses in Workflow Designer.
- For clauses used in a single workflow configuration: If the clause is specific to one workflow configuration or you don’t need to manage it globally, follow the steps below to set up a conditional clause.
Step 1: Create the Form Question and Property
First, you must create a form question with a property to support your condition. Answers to the form question are stored as the associated property's values, and those values can be used as criteria in the condition you create.
- Click the Workflow Designer tab.
- Select the workflow you want to update.
- Click the Create tab.
- Click Add question to form, then select the question type.
- Click Select property, then enter the name of your property. If the property already exists, select it. Otherwise, click Add New Property.
- This will open the property editor on the left sidebar. Click Save. The form question is now associated with the property.
- Update the question and add a helpful description so that users who launch this workflow can make educated answers.
- If you chose a multiple-choice or dropdown question type, add the applicable answers to the question.
Step 2: Create the Rule/Condition
Build the rule, or condition, based on the value of the property you created (the answer to the form question).
- Click the plus sign on the left sidebar, then select Condition.
- Enter the condition's name. Consider the following best practices:
- Use short, concise naming conventions.
- Use mathematical symbols (e.g. ==, <, >, etc.).
- In the "IF" selector dropdown, select the property you created to associate with the condition.
- Configure the condition by selecting an answer from the dropdown next to “IS”. These are the answers you created in the associated form question in the Create tab.
- Click Save.
Step 3: Apply the Condition in Your Document
Apply the condition to text in your document.
- Click the Document tab.
- In your document, highlight the clause/text that you want to apply the condition to. In the options that appear, click Add Condition.
- Select the condition you just created.
- The conditional text will appear in blue brackets. Hover over it to view the corresponding condition's name.