17.4 Conditionals

Conditionals allow you to define special permissions to access one or more fields of the same module when a condition defined within it occurs, with the same logic as advanced filters.

When a condition occurs:

These rules can be defined for users who belong to a role, a branch of the hierarchy, or a user group.

Examples of use.

a) In your business activity three types of company are classified (Customers, Partners and Competitors) through the Type field present in the registry. You also need to define an additional specification for each type, by preparing the Specify Customer, Specify Partner and Specify Competitor fields.

You can configure Conditionals as follows:

b) You have prepared two blocks of information in the registry, one for commercial management and one for technical management. You want to give traders access to technical information, but you do not want to give them permission to change it. Through Conditionals you can redefine the access permissions on the individual fields of the "Technical Information" block by setting them as visible but not changeable for the commercial role.

Let's look at how to create and configure the rules.

Again, only the administrator user can access Settings > Conditionals.

17.4 [1].png

STEP 1: Configuration of the rules.

17.4 [2].png

Enter the name of the rule as you like:

The rule can be applied to:

17.4 [3].PNG

Then enter the condition(s) that must be checked for the rule to be applied. Remember that you can define the rules only on the chosen module.

17.4 [4].png

It is possible to define multiple conditions (Add Condition): all conditions are linked with AND operator. To activate the rule all conditions must be met.
For checkbox type fields (flag), enter 0 for "no" and 1 for "yes".

STEP 2: To access the field permissions configuration area, press Show. Then define the permissions for each field.

17.4 [5].png

Managed

Means managed by the rule, when it occurs. The fields that you do not have to manage should be left disabled; in conjunction with those to be managed, tick the box and proceed with the others. By enabling only this field, without the subsequent ones, the field will be hidden.

Read

By enable reading permissions, the field will be visible

Write

By enable writing permissions, the field will be editable

Mandatory

Makes the field mandatory (function active only in the event of combined use of Status Manager and Conditionals)

Configuration examples.

Hide a Field (you set it to be managed but do not enable any of the other available permissions)

17.4 [6].png
Make a field read-only (manage it and enable read-only permission)

17.4 [7].png

Versioning: All settings for Conditionals can be saved, generating a version (e.g. v.1.0). Versions can be exported or imported to ensure a higher level of security during setup.

N.B.: the conditional fields are not managed by the mobile app, so the configurations made are valid only for the web version.


Revision #1
Created 2 September 2024 07:59:10 by Admin
Updated 2 September 2024 07:59:10 by Admin