{ flowPath = '' drawerShowsHubFlow = false drawerFlowViewer?.closeDrawer() }} > {#if drawerShowsHubFlow}
{#if hubFlowPreview} {:else if notFound}
Hub flow not found at {flowPath}
{:else}
{/if}
{:else if flowPath} {/if}
{ // Increment refreshKey to force re-mounting of FlowModuleScript (bypasses cache) refreshKey++ // Refresh the schema lastRunnable = undefined refresh(runnable) }} /> { // Increment refreshKey to force re-mounting of FlowPathViewer (bypasses cache) refreshKey++ // Refresh the schema lastRunnable = undefined refresh(runnable) }} />
{#if !rawApps} {:else} {/if} {#if runnable.runType == 'flow'} {#if hubFlowId} {:else} {/if} {:else} {/if} {#snippet trigger()} {/snippet} {#snippet content()} {#if runnable.runType == 'flow' && isHubFlowPath(runnable.path)} Since this is a reference to a hub flow, cache settings are managed from the flow after you fork it into your workspace. {:else} Since this is a reference to a workspace {runnable.runType}, set the cache in the {runnable.runType} settings directly by editing it. The cache will be shared by any app or flow that uses this {runnable.runType}. {/if} {/snippet}
{#key `${viewerContext?.stateId ? get(viewerContext.stateId) : 0}-${refreshKey}`} {#if notFound}
{#if runnable.runType == 'flow' && isHubFlowPath(runnable.path)} Hub flow not found at {runnable.path} {:else} {runnable.runType} not found at {runnable.path} in workspace {$operatingWorkspace} {/if}
{:else if runnable.runType == 'script' || runnable.runType == 'hubscript'}
{:else if runnable.runType == 'flow'} {#if isHubFlowPath(runnable.path)} {#if hubFlowPreview}
{:else} {/if} {:else} {/if} {:else} Unrecognized runType {runnable.runType} {/if} {/key}