Add a reset transition

A reset transition is executed when a user clicks Reset in a form, or if an internal process resets the object. An object can only be reset if it has a state containing a reset transition. The Reset 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 reset transitions within the <transitions> element. A reset element must always 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

A reset 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 reset transition