Package com.axelor.workflow.compiler
package com.axelor.workflow.compiler
-
ClassDescriptionThe 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 translatedmessage, and thenodeIdit is about, or null for a workflow-level rule.Which workflows exist and what each references: whatWorkflowLinkerresolves against.A workflow identity:(model, jsonModel, name);jsonModelmay be null.Compiles a parsedWorkflowinto an immutableWorkflowPlan: 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 aWorkflowCatalog.Which graph a run or branch walks, resolved for a whole dispatch in one query rather than one per run.Semantic validation of a parsedWorkflow, beyond the XSD and the compiler's structure: models exist, triggers are coherent, watch coverswhen, expressions parse, and the graph terminates.A workflow refused at a save boundary.