# Module 7: Writing conditions

**Only complete the following exercises when you have completed the Intermediate Clause Author Tutorial. Add the clauses for these exercises to your exercise document.**

{% hint style="info" %}
The following 3 types of datafields are most commonly used to create conditions:

* **True/false datafield**: yes or no question with two mutually exclusive options.
* **Text datafield**: question that takes a text value where more than two options can be included which are mutually exclusive
* **List of text datafield**: multi-select list for text values&#x20;
  {% endhint %}

## 7.1 True/false datafield

Write a condition using a true/false datafield that answers the question: **Is the license exclusive?**

> **16.** **Special Papers**
>
> The Licensee agrees to execute any and all papers, documents, or other instruments which may be found necessary or desirable to affect the \[exclusive OR non-exclusive] right and license granted to the Licensee.

{% hint style="info" %}
Structure of a simple condition:&#x20;

`{#concept^datafield = true: text if the hypothetical answer is true}`&#x20;

or&#x20;

`{#concept^datafield = false: text if the hypothetical answer is false}.`&#x20;

You can include text options for both hypothetical cases as follows:&#x20;

`{#concept^datafield = true: text if the answer is true | else: text if the anser is false}`

More information on the structure of conditions [can be found here](https://app.gitbook.com/s/aTEDNbiFdDa6DW2eNG17/clauses/writing-conditions#general-structure).
{% endhint %}

{% hint style="success" %}
Watch: <https://youtu.be/3FVnWQZD9Ak?list=PLMMYaeH2XffIC4h-xkjMrsfpBY1rzN6Fu&t=391>
{% endhint %}

## 7.2 Text datafield

Write a condition using a text datafield with three predefined options:

* by licensor
* by licensee
* by mutual consent

Three pre-defined options that should automatically be activated depending on the method of termination:

* If ‘by licensor’ is chosen, write “termination by the licensor”
* If ‘by licensee’ is chosen, write “the termination by the licensee”
* If ‘by mutual consent’ is chosen, write “a termination by mutual consent”

> **17. Termination**
>
> The Parties confirm that the Agreement will definitively end pursuant to \[method of termination].

{% hint style="info" %}
Structure of a simple text condition:&#x20;

`{#concept^datafield = "hypothetical answer": text if the datafield input is equal to the hypothetical answer}`. &#x20;

You can add multiple hypotheses as well:&#x20;

`{#concept^datafield = "hypothetical answer 1": text if answer is equal to hypothetical answer 1 | "hypothetical answer 2": text if answer is equal to hypothetical answer 2}.`

Finally, you can always add a fallback option by using `| else: fallback text}`.
{% endhint %}

{% hint style="success" %}
Watch: <https://youtu.be/nNfF54qtVU8?list=PLMMYaeH2XffIC4h-xkjMrsfpBY1rzN6Fu&t=266>
{% endhint %}

## 7.3 List of text datafield

Write a condition using a list of text datafield. Create three predefined options:

* corporate restructuring
* breach of contract
* financial difficulties

The following text should appear depending on which predefined option that has been selected:

* If ‘corporate restructuring’ is among the chosen options, write “a corporate restructuring within the Distributor which may have a material impact on the Manufacturer.”
* If ‘breach of contract’ is among the chosen options, write “any material breach of any terms under this Contract or an Order by the Distributor”
* If ‘financial difficulties” is among the chosen options, write “when the Distributor suffers financial difficulties, however such financial difficulties may be evidenced”

> **18. Event of Default**
>
> Each of the following events occurring for the Distributor, shall constitute an event of default under this Contract for the Distributor:

{% hint style="info" %}
Structure of a list of text condition:

`{"hypothetical answer" in #concept^datafield: text if that answer is included in the datafield}`
{% endhint %}

{% hint style="success" %}
Watch: [ https://youtu.be/Yn4ES06iB5E?list=PLMMYaeH2XffIC4h-xkjMrsfpBY1rzN6Fu\&t=246](https://youtu.be/Yn4ES06iB5E?list=PLMMYaeH2XffIC4h-xkjMrsfpBY1rzN6Fu\&t=246)
{% endhint %}

## 7.4 Enabled?

Write a condition that allows user to enable or disable the entire clause. The clause should only be enabled if the Employment agreement is concluded for a specific duration.

> **19. Specific Duration**
>
> The Employment Contract is concluded for a specific duration of 6 years, starting on \[start date] and ending included.

{% hint style="info" %}
Refresh your memory on [enabled conditions](https://app.gitbook.com/s/aTEDNbiFdDa6DW2eNG17/clauses/enabled).
{% endhint %}
