If you want to execute additional actions such as sending messages, changing data, etc. when a transition is run, you must add commands to an existing chain.
Location |
XML file in the xml folder |
Procedure |
|
Remark |
It is possible that the target state of a transition is no longer valid from the perspective of the workflow configuration after a chain was changed. Example If a transition ends in a state that is defined by the value X of the attribute A, but a command sets the value of attribute A to Y, the target state is invalid or not achieved. In this case, the transition execution is undone and an error message is displayed. |
Documents |
commandChains.xsd, commandChains_*.xml |
Example |
ModifyObjectLifecycle \WEB-INF\config\custom\xml\testcase_catalog_custom.xml: Change command chain |