Renders a RACI matrix for any source table that has Raci* columns.
Designed to be used both standalone (via its own URL) and embedded
inside other reports.
Raci — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — source table (e.g. def_decision_tree).Param2 — key value (e.g. hc_col_bl_v1).Param3 — optional context description used by the AI generatorThe standalone URL is /report/raci/<source_table>/<key_value>.
To reuse the matrix inside any other report:
import ObjReportRaci
raci_report = ObjReportRaci.Report(self.DB)
raci_html = raci_report.render_fragment(
source_table="def_decision_tree",
key_value=decision_name,
context="Decision tree simulation",
)
render_fragment() returns just the table (with its own scoped
styles) so it slots cleanly into a panel.
Raci* columns on the source table viaSHOW COLUMNS LIKE 'Raci%'. Each column becomes one activity row._ACTIVITY_LABEL map; unknownRaci prefixfactory.core/extend.delegate/ObjRaci.get_raci() for