{#if isConflict} Fix username conflict {/if} {isConflict ? 'Auto-generated instance username' : 'New username'} {#if isConflict} Users are required to have an instance-wide username that is shared across all workspaces. However, this user has different usernames in different workspaces. {#if usernameInfo?.workspace_usernames && usernameInfo.workspace_usernames.filter((w) => w.username !== username).length > 0}

Workspaces requiring username modification: {usernameInfo.workspace_usernames .filter((w) => w.username !== username) .map((wu) => `${wu.workspace_id} (${wu.username})`) .join(', ')} {/if}
{/if} {#if !isConflict && usernameInfo?.workspace_usernames && usernameInfo.workspace_usernames.filter((w) => w.username !== username).length > 0} {usernameInfo.workspace_usernames .filter((w) => w.username !== username) .map((wu) => `${wu.workspace_id}`) .join(', ')} {/if} This operation does not handle references in scripts, workflows and applications to scripts in the workspace, and references in resources to variables. You will have to handle those manually.