Add an update transition

An update transition is executed when a user or internal process (for example, server task) saves an object in a form. An object can only be saved if it has a state containing an update transition. The Save function is not enabled for objects in a state without outgoing update transition.

Location

XML file in the xml folder

Procedure

  1. Copy a <workflow> element from the default configuration to the customizing file.
  2. Create one or more new update transitions within the <transitions> element. An update element must refer to an active state existing in the workflow in the to.state.id attribute, and to an existing command chain of the command catalog (commandChains_*.xml) associated with the workflow in the chain.id attribute.

Remark

An update transition added must refer to an existing state (to.state.id) and a command chain (chain.id).

Documents

workflow.xsd, workflow_*.xml, commandChains_*.xml

Example

ModifyObjectLifecycle

\WEB-INF\config\custom\xml\testcase_workflow_custom.xml: New custom update transition