Package com.axelor.meta.schema.workflows
package com.axelor.meta.schema.workflows
-
ClassDescriptionWhat
<call>and<subflow>share: everything but where the child graph comes from.What<wait>and<boundary>share: the trigger they wait on, a timer (delay+unit, oruntil), a condition (when), amessagewith akey, or asignal, and the node to continue to once it fires.The shared base of workflow nodes:id,titleanddescription; positions live in the workflow'sLayout.Invokes an AI agent (ref) with the<prompt>template, then continues tonext.A way out of the node named byhostthat the host's own trigger may never provide, such as "escalate after 7 days".Runs the workflow named byref, a definition in its own right with its own identity, model and revision.Which action(s) require a comment: neither (none), onlycomplete, onlyreject, or both (always).Time unit for a workflow time trigger (<start unit="...">).The walk stops here.What a<wait>or<boundary>is triggered by.What a trigger asks of the author, and what the runtime does with it.What a<join>waits for:all(every selected branch arrives or ends),any(the first arrival continues, the rest are cancelled), orquorum(the firstquorum="N"arrivals continue, the rest are cancelled).The designer's drawing of a workflow: node positions and edge routes.How one edge is drawn.Where one graph's nodes and edges are drawn: the workflow's own, or a subflow body's.Where one node sits on the canvas.One point of an edge's route, its ends included, relative to the edge's source node.The drawing of one subflow's body, keyed by the subflow's id.How many subscribers a<send>expects.One field of the answer anAgentNodeexpects: rendered into the prompt and checked against the answer before any node readsagent.result.One value an<agent>answer's string field may take, told to the model and checked in the answer.The JSON type an<agent>answer's field must have: the types JSON itself distinguishes.Re-fire policy for a workflow trigger (<start repeat="...">).Runs its script body (the element text), then continues tonext.Announces something by name: withmessage, to every run waiting on that name and thiskey; withsignal, to every run listening for the name.How a<split>chooses among its flows, in BPMN terms:one(XOR, the first matching flow, or the default),some(OR, every matching flow, or the default),all(AND, every flow, unconditionally).A split.The workflow's entry and its trigger:on(create, update, timer, manual) ormessage, withwhen,watch,repeat, anddelay/unitfor a timer.Runs the graph written inside it, in the caller's run: its nodes are its children.A human task: the walk parks until a person completes it, then continues tonext.How a workflow fires (<start on>); the bound counterpart of the storedWorkflowTrigger.The walk parks here until a timer elapses (delay+unit, oruntil), a condition holds (when), or amessagewith akey, or asignal, arrives; then it continues tonext.One workflow definition.Common type for all nodes in a workflow graph.