Transition properties
| Property | Database table and column | Description |
|---|---|---|
| Event Type | FSM_TRANSITION. EVENT_TYPE_ID | The type of event that can cause the state transition. It refers to a record in the EVENT_TYPE table. |
| Current State | FSM_TRANSITION. OBJ_CUR_STATE | The state an object can be in before this transition can apply. The state is referenced
by name, such as, S_PTMapped. Note: When the current and target states are NULL, the
transition action is called in response to an event and no state change occurs. These transitions are known as
null-state transitions.
|
| Target State | FSM_TRANSITION. OBJ_TAR_STATE | The state an object is put into if all conditions are met and the transition is applied.
The target state is referenced by name, such as, S_PTRelated. |
| Object Filter | FSM_TRANSITION. OBJ_FILTER | An SQL condition that is appended to the FSM object selector template to identify the
objects that are subject to the transition. Context values from the event can be referenced in the object
filter condition by using the following notation:
Where
ContextName is what is stored in the CommonBaseEvent field:
The following example is an object filter:
Note:
|
| Action | FSM_TRANSITION. FSM_ACTION | The name of an action subflow to be called after the object transitions to the target
state. By convention, action names begin with "A_". For example, A_CorrelatePT. The result set from the FSM object selector is passed to the action in the environment. An action must begin with the |
| Override Selector Template | FSM_TRANSITION. OVERRIDE_SELECTION | This property is used to override the overall object selector template that is defined
at the FSM level. It is used to tailor an object selector template for a particular transition. For example,
to return some number of additional columns of data that is then available in the transition action. All rules and conditions that apply to the FSM object selector template also apply to the transition override selector template. |
| Event Filter | FSM_TRANSITION. EVENT_FILTER | An ESQL Boolean expression that, if specified, must be true for the transition to be
applied at all. For example, this expression might be used to define transitions that apply only to particular
transaction types, when the overall FSM applies to more than one transaction type. Event filters are evaluated independently of the object selector, but object filters are used to qualify it. For example, an object filter is used to more specifically identify the objects that the transition is applied to. If an event filter is present and evaluates to false, the object selector is not used to query the database. Nevertheless, all rules about how to specify an object filter also apply to event filters, including the mechanism to refer to event context data values in the condition. |