{#if $enterpriseLicense} Slack Custom {:else} Custom Slack {handlersOnlyForEe.includes('slack') ? '(ee only)' : ''} {/if}
{#if handlerSelected === 'custom'}
{#if handlerPath === undefined} {/if}
{#if showScriptHelpText}
Example of error handler scripts can be found on Windmill Hub
{/if} {#if handlerPath}

Extra arguments

{#if customHandlerSchema && customHandlerSchema.properties && Object.keys(customHandlerSchema.properties).length === 0}
This error handler takes no extra arguments
{/if} {/if} {:else if handlerSelected === 'slack'} { handlerPath = e.detail ? slackHandlerScriptPath : undefined }} /> {#if workspaceConnectedToSlack} {/if} {#if enterpriseLicense && handlerPath?.startsWith('hub/') && handlerPath?.endsWith('/workspace-or-schedule-error-handler-slack')} {#if !workspaceConnectedToSlack}

The workspace needs to be connected to Slack to use this feature. You can configure it here.

{:else} {#if slackConnectionTestJob !== undefined}

{#if slackConnectionTestJob.in_progress} {:else if slackConnectionTestJob.is_success} {:else} {/if} Message sent via Windmill job {slackConnectionTestJob.uuid}

{/if} {/if} {/if} {/if}