comercio electrónico y venta minorista

Formulário Dinâmico

Este Decision Flow gera dinamicamente estruturas de formulários interativos usando uma biblioteca de configurações de perguntas e um modelo de formulário definido por Decision Tables.

DecisionRules

David Škarka

Autor do modelo

This Decision Flow generates a complete, structured JSON payload for a form (list of questions, types of answers, and response options) by dynamically executing a list of rules that retrieve all necessary configuration details.


Solution components:

  • Decision Tables Question Set Up and Options Set Up define the detailed presentation and logic for every single question and its possible responses (e.g., text, validation, minimum/maximum scale values, and response labels), effectively creating your question configuration library.

  • A Decision Table Form Set Up defines the highest-level form policy. It retrieves the form's descriptive metadata (title, description) and checks the form's time validity.

  • A Decision Table Form 2 Question acts as the core form blueprint, defining precisely which questions will be included in the specific form

  • A Decision Flow Dynamic Form orchestrates the assembly:

    • It executes the Form Set Up table to validate the form's existence and version.

    • It executes the Form 2 Question table to get the list of required questions

    • For each question, it dynamically calls the Question Set Up and Options Set Up tables, collecting all necessary UI data.

Use this Decision Flow as a robust pattern for defining and executing your dynamic forms. You can simply call it from your front-end application using a REST API to receive the latest form configuration in real-time.


Check iconA checkmark inside a circle signifying "yes"Minus iconA minus inside a circle signifying "no"PROS IconA plus symbol representing positive aspects or benefits.CONS IconA minus symbol representing negative aspects or drawbacks.

Mais modelos

Ver outros modelos