supportsFailTransition() method

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

Syntax

boolean supportsFailTransition ()

Returns

True/False - support fail transition, or not, respectively

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()

.

Typically, states with database or external web service calls should support the

continueFail()

to handle all the errors from these calls.

Used by: state editor

True/False - support fail transition, or not, respectively