@Override
    protected Event doExecuteInternal(final RequestContext requestContext) {
        return FunctionUtils.doUnchecked(() -> {
            val applicationContext = requestContext.getActiveFlow().getApplicationContext();
            val args = new Object[]{requestContext, applicationContext, casProperties, LOGGER};
            return script.execute(args, Event.class);
        });
    }
This is {@link GroovyScriptWebflowAction}.

@author Misagh Moayyed
@since 6.6.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/actions/GroovyScriptWebflowAction.java