Unveil the ๐—™๐—น๐—ผ๐˜„ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ฒ๐—ฟ (FD) data model

Sebastian R_
Kilo Sage

 

 

๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š

The following post is based on a linkedin post and is shared here for visibility. Credit goes to author @Nicola Attico 

๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š๐Ÿ”Š

 

While many of us are acquainted with the main elements of FD, its data model remains slightly hidden. Recognizing this data model can be invaluable, whether creating apps, crafting reports or merely trying to grasp the system's internals.
Here are its main layers and tables' names that you can use to explore quickly.


๐Ÿ”ด ๐—˜๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ถ๐—ผ๐—ป ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: This layer primarily handles the runtime data, managing the progression and results of flows and their steps.
- Flow engine context (sys_flow_context)
- Flow engine context report (sys_flow_report)
- Flow statistics (sys_flow_stats)
- Flow engine log entry (sys_flow_logNNNN)

๐Ÿ”ต ๐—ง๐—ฟ๐—ถ๐—ด๐—ด๐—ฒ๐—ฟ๐˜€ ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: Acting as the initiation point, this layer defines what events or conditions will initiate the flow processes.
- Trigger (sys_flow_trigger)
- Trigger instance (sys_hub_trigger_instance)
- Trigger Definition (sys_hub_trigger_definition)
- Trigger category (sys_hub_trigger_category)
- Trigger flow connector (sys_hub_trigger_input|output)

โšซ๏ธ ๐—™๐—น๐—ผ๐˜„๐˜€ & ๐˜€๐˜‚๐—ฏ๐—ณ๐—น๐—ผ๐˜„๐˜€ ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: Core to the design, this layer encompasses the main processes and any subsidiary workflows, ensuring logical sequencing.
- Flow base (sys_hub_flow_base)
- Flow (sys_hub_flow)
- Flow snapshot (sys_hub_flow_snapshot)

๐ŸŸก ๐—–๐—ผ๐—บ๐—ฝ๐—ผ๐—ป๐—ฒ๐—ป๐˜๐˜€ ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: A modular layer containing reusable elements and logic sequences that can be integrated into various flows.
- Component (sys_hub_flow_component)
- Flow logic instance (sys_hub_flow_logic)
- Action instance (sys_hub_action_instance)
- Subflow instance (sys_hub_subflow_instane)

๐ŸŸค ๐—™๐—น๐—ผ๐˜„ ๐—น๐—ผ๐—ด๐—ถ๐—ฐ ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: The brain behind the operations defines the conditions, decisions, and logical pathways the flow should adhere to.
- Flow logic instance (sys_hub_flow_logic)
- Flow logic definition (sys_hub_flow_logic_definition)
- Flow logic variable|input (sys_hub_flow_logic_variable|input)

๐ŸŸฃ ๐—”๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: Acting as the doers, this segment encompasses the specific tasks, outputs, and operations the flow should execute.
- Action type base (sys_hub_action_type_base)
- Action type snapshot (sys_hub_action_type)
- Action input|output (sys_hub_action_input|output)
- Action plan (sys_hub_action_plan)

๐ŸŸ  ๐—ฆ๐˜๐—ฒ๐—ฝ๐˜€ ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ: Breaking down the process, this layer itemizes each step, its definitions, and the input or output specifications.
- Step instance (sys_flow_step_instance)
- Step definition (sys_flow_step_definition)
- Step input|output (sys_hub_flow_step_definition_input|output)

 

SebastianR__0-1697539354935.png

 

0 REPLIES 0