Add a state to an active object

An object is active if it is persistent and not deleted, that is, a user can edit it in a form, for example.

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 <states> within the <workflow> element. The id attribute must have a value that is unique within the workflow.

Remark

The state of an object must be uniquely identifiable by the values of the <Attribute> elements, that is, an object is in a particular state if values are defined for it in the <Attribute> elements. The persistent values of an object are used to determine the state. An added state must be accessible by at least one transition. See Add a transition.

Documents

workflow_*.xml, workflow.xsd

Example

ModifyObjectLifecycle

\WEB-INF\config\custom\xml\testcase_workflow_custom.xml: New custom active workflow state