supportsFailTransition() method

Indicate if the state uses the Fail follow-up transition type.

Syntax

boolean supportsFailTransition ()

Returns

False - does not support fail transition by default

Usage

When set to true the state editor will display the Fail dropdown UI control listing all the possible states to chose from.

When returning true, the processing method(s) should have at least one condition that returns

continueFail()

.

The recommended best practice is for states with database or external web service calls to handle errors from these calls using the

continueFail()

follow-up transition.

Used by: state editor

False - does not support fail transition by default