Show TOC

supportsFailTransition() methodLocate this document in the navigation structure

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

Syntax
Syntax
public boolean supportsFailTransition ()
Returns
True/False - support fail transition, or not, respectively
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>.

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