Developer

supportsFailTransition() method

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

Syntax
Syntax
public boolean supportsFailTransition ()

Returns

False - does not support fail transition by default

Remarks

When set to true the state editor will display the Fail dropdown UI control listing all the possible states to chose from. <p> When returning true, the processing method(s) should have at least one condition that returns <code>continueFail()</code>.

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