Annotation Type NonRetryable


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface NonRetryable
    When a state method throws an exception annotated with this annotation, it is not retried by nFlow engine. Instead, the workflow instance is moved to failure state.