Avvoka allows more complex conditions to be saved in the form of an “operation” that can be used elsewhere in the document. To initiate this feature, select an existing condition and follow the steps below.
Using operations you can perform things such as mathematical calculations, localisation, comparison between attributes and more.
Operation definition: A function allowing the user to create a calculation in the document at a defined location.
Start by navigating to the operations tab and selecting ‘+’ to create a new operation, or you can select the type of operation under the titles: ‘Inputs’, ‘Localisation’, ‘Comparison’, ‘Math’, ‘Text’, or ‘Logic’.
Using ‘Simple mode’ you can visually see different types of operations which aids in improving readability.
Below is an example of the same equals operation in ‘Complex Mode’.
To add the operation to your template you can select ‘Insert quick operation’ and the name of the operation.
You can also make an inline or block condition dependent on the result of the operation, here for example or commission operation that calculates the requisite condition would trigger the inclusion of a clause if it equals 1500.
Users can create and save Operations in the Operation library for use in various templates.
To create an Operation in the Operations library, click “+” and type in the name of the operation (figure 1).
Select the relevant Operation and once you have completed building the Operation click “Save changes”. The example in the image below is the Operation for Spanish long form wording to apply for a date placeholder.
To apply the saved Operation, go into the relevant template and select the Operation tab under Template settings as aforementioned. There you will be able to create a new Operation or search for an existing one.
You can review a detailed guide about operations here.