Static Status Transition Rule

Implementation

The Java class implementing a status Status Transition Ruleis de.ecm4u.sbcs.sm.core.rule.StaticRule.

The implementation is a JSON string containing an object with two members, add and remove. They list the values to add and remove from the list of reachable values configured in the status_transition table.

Example:

{
    "remove": ["PENDING"],
    "add": ["FINSHED"]
}

This rule will remove the value PENDING from the list of reachable values. The value FINISHED will be added.