@Override
    protected Event doExecuteInternal(final RequestContext requestContext) {
        FunctionUtils.doIf(!requestContext.getCurrentEvent().getId().equals(CasWebflowConstants.TRANSITION_ID_ERROR),
            u -> requestContext.getMessageContext().clearMessages()).accept(requestContext);
        requestContext.getConversationScope().put("captchaValue", RandomUtils.randomAlphanumeric(CAPTCHA_LENGTH));
        return null;
    }
This is {@link AccountUnlockStatusPrepareAction}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-pm-webflow/src/main/java/org/apereo/cas/pm/web/flow/actions/AccountUnlockStatusPrepareAction.java