Package com.axelor.workflow.compiler


package com.axelor.workflow.compiler
  • Class
    Description
    The result of compiling a definition: a plan and no violations, or the complete list of structural violations and no plan.
    One validation finding: a stable code (<element>-<attr>-<problem>), the translated message, and the nodeId it is about, or null for a workflow-level rule.
    Which workflows exist and what each references: what WorkflowLinker resolves against.
    A workflow identity: (model, jsonModel, name); jsonModel may be null.
    Compiles a parsed Workflow into an immutable WorkflowPlan: the structural gate the runtime relies on (one start, unique ids, every edge resolving, joins paired with their splits).
    Compiles stored workflow XML into an immutable plan, cached by XML content.
    The cross-workflow checks: every <call> ref resolves, and no chain of calls returns to where it started, resolved through a WorkflowCatalog.
    Which graph a run or branch walks, resolved for a whole dispatch in one query rather than one per run.
    Semantic validation of a parsed Workflow, beyond the XSD and the compiler's structure: models exist, triggers are coherent, watch covers when, expressions parse, and the graph terminates.
    A workflow refused at a save boundary.