Dynamic Questionnaires in Decision Tables - Gnorion/BizVR GitHub Wiki

Dynamic Questionnaires in Decision Tables

Usually a decision expects all its inputs to be provided up front and then the rules process that data to produce an output.

But is it possible to create a decision that can dynamically request inputs as they are needed? The answer is Yes.

BizVR Decision provides the function "ask()" which will pop up a dialog box at the point where the data value is needed. If the value never actually is needed then the dialog won't pop up. This approach can be used to create dynamic questionnaires where only necessary questions are asked.

Example 1 Asking for Decision Inputs

image