Conditional Form Logic

What is a conditional form logic?

Conditional form logic allows you to customize which control question gets displayed within an assessment based on previously answered questions. ‍

Who should add, create or edit conditional form logic?

Currently, only organization or system admin team can create or edit conditional form logic under “User Journey” tab in admin settings.

Who have access to a control bundle?

Any members of a project will be able to access and answer the questions of any control bundles in any policies assigned to the project.

How to create a control bundle?

Please contact support@asenion.ai for this advance feature.

Explanation

Conditional Logic currently only allowed to be used within a control bundle withint a policy.

By default, a control is displayed if it’s not in any user journey definition file.

If the control is definied in any user journey definition file as a dependent control, then by default, it will not be displayed unless the input condition of the parent control(s) is met.

When a control is in the user journey definition as the dependentControllerIdentifer, it will only be displayed if the input criteria are satified. There can be one or more input criteria:

“inputs”: [ { “controlIdentifier”: “com.example.safety.s1”,
“answerOptionIdentifiers”: [“fully-compliant”], “isInverse”: false }, { “controlIdentifier”: “com.example.safety.s2”, “answerOptionIdentifiers”: [“fully-compliant”], “isInverse”: false } ]

controlIdentifer - this is the parent control that determines whether the depend control should be displayed. answerOptionIdentifiers - this is the answer option of the parent control that needs to be selected for the dependent control to be displayed. isInverse - by default, it is false. If it is true, then the dependent control will be displayed by default and it will be hidden if the answre option of the parent control is selected.

Note: If the answerOptionIdentifiers array is null, that means any option will satisifed the input requirement.