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.
David Škarka
Template author
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.
More Templates
See Other Templates
Teste A/B
Descubra uma maneira simples de atribuir um grupo de teste para realizar testes A/B em suas decisões.
Precificação baseada em risco
Descubra uma maneira simples de aplicar uma matriz de precificação baseada em risco adequada ao tipo de cliente.
Critérios de Elegibilidade e Regras da Política
Descubra uma maneira simples de definir e executar vários conjuntos de regras e obter o resultado da decisão final.