Slack Teams Custom
{#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

{#await import('$lib/components/SchemaForm.svelte')} {:then Module} {/await} {#if customHandlerSchema && customHandlerSchema.properties && Object.keys(customHandlerSchema.properties).length === 0}
This error handler takes no extra arguments
{/if} {/if} {:else if handlerSelected === 'slack'} { if (e.detail && errorOrRecovery === 'error') { handlerPath = slackHandlerScriptPath } else if (e.detail && errorOrRecovery === 'recovery') { handlerPath = slackRecoveryHandler } else if (e.detail && errorOrRecovery === 'success') { handlerPath = slackSuccessHandler } else { handlerPath = undefined } }} /> {#if workspaceConnectedToSlack} {#await import('$lib/components/SchemaForm.svelte')} {:then Module} {/await} {:else if workspaceConnectedToSlack == undefined} {/if} {#if $enterpriseLicense && isSlackHandler(handlerPath)} {#if workspaceConnectedToSlack == false}

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

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

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

{/if} {/if} {/if} {:else if handlerSelected === 'teams'} { if (e.detail && errorOrRecovery === 'error') { handlerPath = teamsHandlerScriptPath } else if (e.detail && errorOrRecovery === 'recovery') { handlerPath = teamsRecoveryHandler } else if (e.detail && errorOrRecovery === 'success') { handlerPath = teamsSuccessHandler } else { handlerPath = undefined } }} /> {#if workspaceConnectedToTeams}

Teams Channel

This workspace is connected to Team: {teams_team_name}

Each workspace can only be connected to one Microsoft Teams team. You can configure it under workspace settings.
{:else if workspaceConnectedToTeams == undefined} {/if} {#if $enterpriseLicense && isTeamsHandler(handlerPath)} {#if workspaceConnectedToTeams == false}

The workspace needs to be connected to Teams to use this feature. You can configure it under workspace settings.

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

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

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