In the left panel, click + New Workflow to start a new workflow, or browse the Library tab to open an existing workflow to view or edit. Use the Search field to search your existing workflows by name, or expand the folder structure to find them. Double-click a workflow to open it on the palette.
Folders in the Library are a convenience for organizing workflows. Right-click a folder or workflow in the tree to create, rename or delete folders, or drag a workflow into a folder.
The Components tab lists the objects that can be added to a workflow. Use the Search components field to find an object by name, or expand the tree. Drag a component from the tree onto the palette to add it to the workflow.
The following object types can be added to a workflow:
Mapping — any existing mapping. Mappings are grouped in the tree by target connection, then schema. When placed on the palette a mapping shows as the icon.
Workflow — any existing workflow. Nesting workflows lets you build advanced, multi-level data pipelines. A nested workflow shows as the icon.
Utility — additional components for building advanced pipelines:
SQL Script embeds a custom SQL statement directly in the workflow and shows as the icon. The script syntax must be native to the Connection selected for the script.
Anchor waits for all incoming components to complete before proceeding and shows as the icon. Use an anchor to fan a set of parallel mappings back into a single path.
Email sends an email message from within the workflow and shows as the icon. Optionally, a dataset returned by a SQL query can be attached as a CSV or XLSX file. If the attached dataset contains more than 5,000 records only the first 5,000 are included.
Every workflow begins with a Start component. Drag Components from the left panel onto the palette and link them together to define the order of execution.
To link two components, click the grey output arrow on the right of one component, move the mouse to the input arrow on the left of another component and click again.
A flow line is drawn between the two components. Components with multiple incoming lines wait for all of their predecessors to finish before running; components with multiple outgoing lines start their successors in parallel.
Click a component to select it and show its Component Properties. Drag a component to reposition it.
Use the controls in the lower right corner of the palette to navigate large workflows:
Search operators — type part of a component name to locate it on the palette.
+ / − — zoom in and out. You can also scroll with the mouse wheel and drag the background to pan.
The reset button returns the palette to the default zoom, centered on the workflow.
Circular references are not allowed. If a circular reference exists you must correct it before saving or running the workflow.
The buttons in the far right panel perform the following actions:
Run Workflow executes the workflow. The workflow must be saved first.
Save Workflow saves all changes to the workflow.
Delete Workflow deletes the saved workflow.
Export Workflow exports the workflow and all of its dependencies (mappings and nested workflows) as a .kexp file. Connections are not exported; they are matched to existing connections when the file is imported. This is useful when promoting between separate development and production instances. See Migrate.
Job History shows all current and prior runs of the workflow. See Workflow History.
Expand the collapsible area to view or edit the following details:
Workflow Name — view or edit the name of the workflow.
Continue On Error (toggle) — when on, the workflow continues to run the remaining components if a component fails. When off (the default) the workflow stops at the first failure.
Reset Incrementals (toggle) — when on, the Next Incremental Value of every incremental mapping in the workflow is cleared before the mapping runs, forcing a full reload of the source. After the workflow completes successfully the toggle is switched off automatically so the next run is incremental again.
Created On / Created By / Updated On / Updated By — audit information for the workflow.
Workflows — links to any parent workflows that include this workflow as a component.
Expand the collapsible area to change the notification settings for the workflow:
On Error (toggle) — if set, an email is sent when the workflow fails.
On Success (toggle) — if set, an email is sent when the workflow completes successfully.
To — the email address that receives the error or success message. Separate multiple addresses with commas.
From — the email address the message is sent from. If left blank the default address from your configuration is used.
Include Log (toggle) — if set, the workflow log file is attached to the message so the recipient does not need to log in to the application to find it.
Enabled (toggle) — turn off to skip this component when the workflow runs. Defaults to on.
No Increment On Failure (toggle) — for incremental mappings. When on, if the workflow ends in a failed status the mapping’s Next Incremental Value is restored to the value it had before the workflow ran, so the next run picks up the same records again.
Title — the label shown on the palette. Defaults to the mapping name; edit it to make large workflows easier to read.
Type — display only; map.
Mapping Name — display only; the name of the mapping.
Edit Map — opens the mapping in the Edit Mapping screen.
Remove — removes the component from this workflow. The mapping itself is not deleted.
Enabled, Title and Remove work as described for mapping components.
Type — display only; script.
Edit Script — opens the script editor in place of the palette. Select the Connection the script will run against, enter the SQL in the editor and click Save to return to the palette, or Cancel to discard your changes.
Enabled, Title and Remove work as described for mapping components.
Type — display only; email.
Compose Message — opens the message editor in place of the palette.
Message Contents
From — the sending address. If left blank the default address from your configuration is used.
To — one or more recipient addresses, separated by commas.
Subject and Message — the subject line and body of the email.
Attach Dataset (optional)
Connection — the connection the SQL query runs against.
Dataset Name — the file name of the attachment (without extension).
Send If Empty (toggle) — defaults to on. When off, the email is not sent if the query returns no records.
File Format — csv or xlsx.
SQL Query — the query whose result set is attached. Only the first 5,000 records are included.
Click Save to return to the palette, or Cancel to discard your changes.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"CaO_Data_Platform (KODDA)","colors":{"primary":"#0D9373","light":"#55D799","dark":"#0D9373"},"favicon":"https://mintcdn.com/cao-analytics-llc/B5wMHzLeDwC7dAu1/favicon.png?fit=max\u0026auto=format\u0026n=B5wMHzLeDwC7dAu1\u0026q=85\u0026s=c0913a81e12ce0373fb78551999d4e28","navbar":{"links":[{"href":"http://apidocs.caoanalytics.com","label":"API Docs"}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cao-analytics-llc","hasAudioNarration":false,"actualSubdomain":"cao-analytics-llc","customDomains":["docs.caoanalytics.com"],"gitSource":{"type":"github","owner":"congstad","repo":"kodda_docs_mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6aebf2923e1949090240deeb"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aef3acfec2091b7c464c782","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":30},{"language":"default","tag":"User Guide","count":17},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Edit Mapping","count":4},{"language":"default","tag":"Examples","count":3},{"language":"default","tag":"Generate Mapping","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"user-guide/design-workflow","slug":"/user-guide/design-workflow","pageMetadata":{"title":"Design Workflow","description":null,"href":"/user-guide/design-workflow"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use the Design Workflow screen to control the flow of mappings, SQL scripts, email notifications and other workflows.`}),`\n`,_jsx(Heading,{level:`3`,id:`navigation`,children:`Navigation`}),`\n`,_jsxs(_components.p,{children:[`Access the Design Workflow screen from the left navigation menu or from the `,_jsx(_components.strong,{children:`Design`}),` drop-down in the main header.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=a30f05e0c51119068b3a589bbdffc932`,alt:``,\"data-og-width\":`3200`,width:`3200`,\"data-og-height\":`1984`,height:`1984`,\"data-path\":`images/design-workflow.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=2c8d052cc425bc3e649408d792b70e76 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=d7534a32a963400c9503b46ae860a828 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=a434825932f5f63da2012b38f72e4d40 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=f0d1baf8ba8a83525d4e29fffd3d23c6 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=385fdc64aab206b896e6b0399f1872f3 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/design-workflow.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=12a49434a55c59719067c9fa3a0a83e1 2500w`}),`\n`,_jsx(_components.p,{children:`The screen has three areas:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Left panel`}),` — the `,_jsx(_components.strong,{children:`Library`}),` of existing workflows and the `,_jsx(_components.strong,{children:`Components`}),` you can add to a workflow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Center panel`}),` — the design palette where the workflow is drawn.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Right panel`}),` — Activities, Workflow Properties, Workflow Messaging and Component Properties.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-new-workflow`,children:`Create a New Workflow`}),`\n`,_jsx(Heading,{level:`3`,id:`library`,children:`Library`}),`\n`,_jsxs(_components.p,{children:[`In the left panel, click `,_jsx(_components.strong,{children:`+ New Workflow`}),` to start a new workflow, or browse the `,_jsx(_components.strong,{children:`Library`}),` tab to open an existing workflow to view or edit. Use the `,_jsx(_components.strong,{children:`Search`}),` field to search your existing workflows by name, or expand the folder structure to find them. Double-click a workflow to open it on the palette.`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Folders in the Library are a convenience for organizing workflows. Right-click a folder or workflow in the tree to create, rename or delete folders, or drag a workflow into a folder.`})}),`\n`,_jsx(Heading,{level:`3`,id:`components`,children:`Components`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Components`}),` tab lists the objects that can be added to a workflow. Use the `,_jsx(_components.strong,{children:`Search components`}),` field to find an object by name, or expand the tree. Drag a component from the tree onto the palette to add it to the workflow.`]}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=797741f067b9037ae941cc7408087151`,alt:``,width:`300`,\"data-og-width\":`440`,\"data-og-height\":`1700`,\"data-path\":`images/workflow-components.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=939c169b89219b826069f16121e9e405 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=e4c578ee1c8766d1b5361cea6f06c3dc 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=238c466655e2660b61ffc41d246b2734 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=3bd034c1e4da8dbe960d7d8e4d0d86de 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=397d9faf62d260f87d12294bcaea1f16 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-components.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=4d8272add74f9c6dac884c318eb3d84a 2500w`})}),`\n`,_jsx(_components.p,{children:`The following object types can be added to a workflow:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mapping`}),` — any existing mapping. Mappings are grouped in the tree by target connection, then schema. When placed on the palette a mapping shows as the `,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=7c9ecda28d423591ce4570338a05ed1b`,alt:`map`,style:{display:`inline`,height:`1.25em`,margin:`0 0.15em`,verticalAlign:`text-bottom`},\"data-og-width\":`64`,width:`64`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/wf-icon-mapping-sm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?w=280\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=1d6a5f60f49c0f7c115a19c7e40576bd 280w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?w=560\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=da3458280466a09998367ff6a8842c9b 560w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?w=840\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=2cb0181a1bb3361379c93dc1d09d0b10 840w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=cca115a25485ae6e581fc75c8c1f5172 1100w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=bef8f5187b6f3d8812d666db8aec530b 1650w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-mapping-sm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=6b7f3f8406147a6a9d5d3e61df2aa739 2500w`}),` icon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Workflow`}),` — any existing workflow. Nesting workflows lets you build advanced, multi-level data pipelines. A nested workflow shows as the `,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=8ac9440fb73c16e8d00137b93ba88929`,alt:`workflow`,style:{display:`inline`,height:`1.25em`,margin:`0 0.15em`,verticalAlign:`text-bottom`},\"data-og-width\":`64`,width:`64`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/wf-icon-workflow-sm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?w=280\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=77f5de4d9db34e475fcca99cbc605309 280w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?w=560\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=be5a2b337ff38a9da2057fbd316602e8 560w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?w=840\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=4116501a42fae87ea4c75ddfd9757ca9 840w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=4c26757bd43f974b16984010cf55f2ca 1100w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=da4f84bfe69f800541f8076462b77b97 1650w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-workflow-sm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=e27cc3839bdee7aa9498213f927d0e72 2500w`}),` icon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Utility`}),` — additional components for building advanced pipelines:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SQL Script`}),` embeds a custom SQL statement directly in the workflow and shows as the `,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=d967825f6d6fcc3262a3c4a24be24374`,alt:`SQL Script`,style:{display:`inline`,height:`1.25em`,margin:`0 0.15em`,verticalAlign:`text-bottom`},\"data-og-width\":`64`,width:`64`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/wf-icon-sql-script-sm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?w=280\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=97d4530122d9a982ee001fdb8337ac3f 280w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?w=560\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=e427115e8403715c85d05710bb873dc3 560w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?w=840\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=ef16b10e27de943d0e9e5d53c1f02c80 840w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=1a5a59ecbfdee5325f8b24349605e6ef 1100w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=7949dc841e04dd720c36421c266002d0 1650w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-sql-script-sm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=42dcad1ba637cc52ea3dd1ad663bdcc5 2500w`}),` icon. The script syntax must be native to the `,_jsx(_components.strong,{children:`Connection`}),` selected for the script.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Anchor`}),` waits for all incoming components to complete before proceeding and shows as the `,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=9f67e0cf4c7c07834957f51c7b4dd995`,alt:`anchor`,style:{display:`inline`,height:`1.25em`,margin:`0 0.15em`,verticalAlign:`text-bottom`},\"data-og-width\":`64`,width:`64`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/wf-icon-anchor-sm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?w=280\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=b2945cefc73a64997eb5812550c1376b 280w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?w=560\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=c8c326eb8bdebf1fff42e47c4349a690 560w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?w=840\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=3bf174befe33c314a88f4a04efe38e68 840w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=18c908fe9f3c5ce62e76d55ab7e26e8c 1100w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=eaaf6c77d07818dfbe595b6ef2535008 1650w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-anchor-sm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=e4f0f9d8efcaeff19afcd6a2d8290fe6 2500w`}),` icon. Use an anchor to fan a set of parallel mappings back into a single path.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email`}),` sends an email message from within the workflow and shows as the `,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=eaff5910d155f38297cf28da23c00e53`,alt:`email`,style:{display:`inline`,height:`1.25em`,margin:`0 0.15em`,verticalAlign:`text-bottom`},\"data-og-width\":`64`,width:`64`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/wf-icon-email-sm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?w=280\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=e763927b9d9410801c51e78baadc56d9 280w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?w=560\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=85094f65e37cc55840e6652b986527f5 560w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?w=840\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=5782ee2d699acf217070172fe724739c 840w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=1f4e5febfac7e428ece370e20ee87a8f 1100w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=c1c186d7e7c395283b041f5b5e84c6bc 1650w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-email-sm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=b3176b5d1ee63d2e3adb25b62f52e501 2500w`}),` icon. Optionally, a dataset returned by a SQL query can be attached as a CSV or XLSX file. If the attached dataset contains more than 5,000 records only the first 5,000 are included.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`workflow-design-palette`,children:`Workflow Design Palette`}),`\n`,_jsxs(_components.p,{children:[`Every workflow begins with a `,_jsx(_components.strong,{children:`Start`}),` component. Drag Components from the left panel onto the palette and link them together to define the order of execution.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To link two components, click the grey `,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=4529ba7ec55ac453269cf57456ca8831`,alt:`grey arrow`,style:{display:`inline`,height:`1.25em`,margin:`0 0.15em`,verticalAlign:`text-bottom`},\"data-og-width\":`64`,width:`64`,\"data-og-height\":`64`,height:`64`,\"data-path\":`images/wf-icon-arrow-sm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?w=280\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=4a06b0813a7c52caaf51dfcdcad42b69 280w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?w=560\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=b2545a2ce24bf82a2d8f64eb2c4bc15d 560w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?w=840\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=8823426c04084cdf654348b1e19defc6 840w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=2a878e023451964db24281df8ea00be2 1100w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=8db37a733798be6f3c413f64019e21f7 1650w, https://mintcdn.com/cao-analytics-llc/g7joAuu6FMlNThrw/images/wf-icon-arrow-sm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=g7joAuu6FMlNThrw\u0026q=85\u0026s=585c6ece0225882fb4d22b6ce923f641 2500w`}),` output arrow on the right of one component, move the mouse to the input arrow on the left of another component and click again.`]}),`\n`,_jsx(_components.li,{children:`A flow line is drawn between the two components. Components with multiple incoming lines wait for all of their predecessors to finish before running; components with multiple outgoing lines start their successors in parallel.`}),`\n`,_jsxs(_components.li,{children:[`Click a component to select it and show its `,_jsx(_components.strong,{children:`Component Properties`}),`. Drag a component to reposition it.`]}),`\n`]}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=e302ddf920ba283d4ce0541953dc172d`,alt:`A workflow using mapping, nested workflow, SQL script, anchor and email components.`,width:`640`,\"data-og-width\":`1700`,\"data-og-height\":`1690`,\"data-path\":`images/workflow-canvas-zoomed.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7ed7ea53f3b2b6edc8113b0de82f7852 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=160316f5b882ef9790d39d3ed3b8c707 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=62f4d88005dd5f70ca1cd9b321146a57 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=003d7aecfec87d9495d21526799f1c82 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=b99c97735b70e0613b107d1ea04660a6 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-canvas-zoomed.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=cc624b355ce5a8562af97cc3681e0932 2500w`})}),`\n`,_jsx(_components.p,{children:`Use the controls in the lower right corner of the palette to navigate large workflows:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Search operators`}),` — type part of a component name to locate it on the palette.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`+`}),` / `,_jsx(_components.strong,{children:`−`}),` — zoom in and out. You can also scroll with the mouse wheel and drag the background to pan.`]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`reset`}),` button returns the palette to the default zoom, centered on the workflow.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=58d997b15816d3b20b72223bb17576a0`,alt:`A complete workflow.`,\"data-og-width\":`1700`,width:`1700`,\"data-og-height\":`1690`,height:`1690`,\"data-path\":`images/workflow-example.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=5a517354a76437db357ba06a4ef6e001 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=c6b3102551d7074c3533226b579ed524 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=2bab9f99a2a074f17bac1678aa0c091f 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=863c35ac3da02a7b5f1446c7f9090c9d 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=0600d0fa6073c92e521d105ad3146d54 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-example.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7de492866ffc616a5d5e44ce7ea42b05 2500w`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Circular references are not allowed. If a circular reference exists you must correct it before saving or running the workflow.`})}),`\n`,_jsx(Heading,{level:`2`,id:`activities`,children:`Activities`}),`\n`,_jsx(_components.p,{children:`The buttons in the far right panel perform the following actions:`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=4ea7947a80b8500eac030689ed663a1a`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`582`,\"data-path\":`images/workflow-activities.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=5b9a587301d8bbced55463f7e888fae0 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=c4348ea3990196dc9552b75e3f9ae20b 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=b5b35e7c240e63c6265df8cf6a1b1bb1 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=3b7e7a8601e419e82d4b3f93bb2c3c25 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=76234b76d40af5434b39ce1cbcb1bb58 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-activities.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=c062f5513a59bce04201586885f3ce2a 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Run Workflow`}),` executes the workflow. The workflow must be saved first.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Save Workflow`}),` saves all changes to the workflow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delete Workflow`}),` deletes the saved workflow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Export Workflow`}),` exports the workflow and all of its dependencies (mappings and nested workflows) as a `,_jsx(_components.code,{children:`.kexp`}),` file. Connections are not exported; they are matched to existing connections when the file is imported. This is useful when promoting between separate development and production instances. See `,_jsx(_components.a,{href:`/user-guide/migrate`,children:`Migrate`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Job History`}),` shows all current and prior runs of the workflow. See `,_jsx(_components.a,{href:`/user-guide/workflow-history`,children:`Workflow History`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`workflow-properties`,children:`Workflow Properties`}),`\n`,_jsx(_components.p,{children:`Expand the collapsible area to view or edit the following details:`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=8d9b35a79fbbdfba0fbf2512a4f84f0f`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`691`,\"data-path\":`images/workflow-properties.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=13fc6383cfaa59ebbd990e82e32225d1 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=f43cbe1eaeb39bd4d7df077a9fed9e00 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=a77c91e5a81a0ddbcb682f784510d854 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=2543fdfb85e88b5538c1f90100f3ee59 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=3bd6f30a76b5fc7aedaae0a362e149dd 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-properties.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=316c688b58ce5ae3386967bd2b167f49 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Workflow Name`}),` — view or edit the name of the workflow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Continue On Error (toggle)`}),` — when on, the workflow continues to run the remaining components if a component fails. When off (the default) the workflow stops at the first failure.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reset Incrementals (toggle)`}),` — when on, the Next Incremental Value of every incremental mapping in the workflow is cleared before the mapping runs, forcing a full reload of the source. After the workflow completes successfully the toggle is switched off automatically so the next run is incremental again.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Created On / Created By / Updated On / Updated By`}),` — audit information for the workflow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Workflows`}),` — links to any parent workflows that include this workflow as a component.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`workflow-messaging`,children:`Workflow Messaging`}),`\n`,_jsx(_components.p,{children:`Expand the collapsible area to change the notification settings for the workflow:`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=26b6dc09bec9dd8d9c3a7aa0cda04f57`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`729`,\"data-path\":`images/workflow-messaging.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=dc83b09345b30fba007e9f325a68a10b 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=a92c2eeee432521e490e049be238a16b 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=55a363232b2c054d2608a2b94bd6e2c5 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=5bd9c218b06ec10acf1d33f0fa21466d 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=6e9213a0275bfa8080dd94f811033268 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-messaging.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=5cf60328fd9eff7212e20ea3270e4b22 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`On Error (toggle)`}),` — if set, an email is sent when the workflow fails.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`On Success (toggle)`}),` — if set, an email is sent when the workflow completes successfully.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To`}),` — the email address that receives the error or success message. Separate multiple addresses with commas.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`From`}),` — the email address the message is sent from. If left blank the default address from your configuration is used.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Include Log (toggle)`}),` — if set, the workflow log file is attached to the message so the recipient does not need to log in to the application to find it.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`component-properties`,children:`Component Properties`}),`\n`,_jsxs(_components.p,{children:[`Click a component on the palette to display its `,_jsx(_components.strong,{children:`Component Properties`}),`. The properties shown depend on the component type.`]}),`\n`,_jsx(Heading,{level:`4`,id:`mapping-components`,children:`Mapping components`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=ac5200da0ab718ff5a77a4dd014d1857`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`920`,\"data-path\":`images/workflow-component-map.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=049eb5827b71472205e03fe2fb60ae3a 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=1c07a2cd1aabee91bc95d3052ce7788a 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=d62bb55eb97cead7dea5510777058b44 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=fc007667c0b5b2b91df8be9c57d38915 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=227325a287f8f4148e409ae38c5dbcd5 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-map.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=4a003b534297c1232d1184f057ac4619 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled (toggle)`}),` — turn off to skip this component when the workflow runs. Defaults to on.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No Increment On Failure (toggle)`}),` — for incremental mappings. When on, if the workflow ends in a failed status the mapping’s Next Incremental Value is restored to the value it had before the workflow ran, so the next run picks up the same records again.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Title`}),` — the label shown on the palette. Defaults to the mapping name; edit it to make large workflows easier to read.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type`}),` — display only; `,_jsx(_components.code,{children:`map`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mapping Name`}),` — display only; the name of the mapping.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Edit Map`}),` — opens the mapping in the `,_jsx(_components.a,{href:`/user-guide/edit-mapping`,children:`Edit Mapping`}),` screen.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Remove`}),` — removes the component from this workflow. The mapping itself is not deleted.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`workflow-components`,children:`Workflow components`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=41296f9e2fe768c37d7be20a0d15829f`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`846`,\"data-path\":`images/workflow-component-workflow.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=9b07c6a1e0bb2f2118dfb3080680a36d 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=76a9964575616a4ca045e3e662c2d86c 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=4a73e6d3cefa6f6dc160966e7e4972e7 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=d8fe87c93665040868dc93b6bc7d8e22 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=ce8f11521d2cef5d5123c3874f0e89fe 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-workflow.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7129e860ed75a2e063b96382abf9169c 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled`}),`, `,_jsx(_components.strong,{children:`Title`}),` and `,_jsx(_components.strong,{children:`Remove`}),` work as described for mapping components.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type`}),` — display only; `,_jsx(_components.code,{children:`wf`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Workflow Name`}),` — display only; the name of the nested workflow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Edit Workflow`}),` — opens the nested workflow in the Design Workflow screen.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`sql-script-components`,children:`SQL Script components`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7685f308fd848fa2a617e53f19dcfc4f`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`750`,\"data-path\":`images/workflow-component-script.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=8e9cb585b696c55097403a00ea2ed9a5 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=48a0f13d91f15d420741440d6eded597 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7f22ea9998364fa6c56f3b6c6297bc07 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=af7afece3b192d0746604acab5cc1c6a 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7e8d709786d627b54f631901495a8af0 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-script.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=8dce9b0a9dd226efb87e68946b5bf4ca 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled`}),`, `,_jsx(_components.strong,{children:`Title`}),` and `,_jsx(_components.strong,{children:`Remove`}),` work as described for mapping components.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type`}),` — display only; `,_jsx(_components.code,{children:`script`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Edit Script`}),` — opens the script editor in place of the palette. Select the `,_jsx(_components.strong,{children:`Connection`}),` the script will run against, enter the SQL in the editor and click `,_jsx(_components.strong,{children:`Save`}),` to return to the palette, or `,_jsx(_components.strong,{children:`Cancel`}),` to discard your changes.`]}),`\n`]}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=3e4e85ad1b274151065720c0c5e3f25d`,alt:``,width:`640`,\"data-og-width\":`2300`,\"data-og-height\":`1000`,\"data-path\":`images/workflow-script-editor.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7dfccca3414ec3df251a90ef2f1482c2 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=83b3840d89784a86fba6b599ce513a57 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=c39af884ab21610e55201e7006398271 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=f44e4bc212c1b0c0803190e34ddedae6 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=31f2045184b776ca3b55696b2fb32b05 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-script-editor.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=9a355ae26b6e3b10980eeb3784850d4d 2500w`})}),`\n`,_jsx(Heading,{level:`4`,id:`email-components`,children:`Email components`}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=3a6f454a2a32aa6129742700ac5fe024`,alt:``,width:`300`,\"data-og-width\":`600`,\"data-og-height\":`694`,\"data-path\":`images/workflow-component-email.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=ee0743bf27c548dcabe0b66701396329 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=ffb3a61e17248a392f2b5505a9953465 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=7e64573a395499b5613924c2f676b10b 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=84d28a22cd21c803a7d4751c995b8fc5 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=26af3531cc9db9f24baf155d2e760f96 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-component-email.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=30ecf8c2a2ef26ab28abc5e0158fc549 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled`}),`, `,_jsx(_components.strong,{children:`Title`}),` and `,_jsx(_components.strong,{children:`Remove`}),` work as described for mapping components.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type`}),` — display only; `,_jsx(_components.code,{children:`email`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Compose Message`}),` — opens the message editor in place of the palette.`]}),`\n`]}),`\n`,_jsx(`div`,{align:`left`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=f8daadc451b88239440dc9fb99add1e3`,alt:``,width:`640`,\"data-og-width\":`2292`,\"data-og-height\":`2000`,\"data-path\":`images/workflow-compose-message.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?w=280\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=1b196c6e82a72afd4c679e88317627f1 280w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?w=560\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=2ad25194bd0b4b1c729b81646e8dad80 560w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?w=840\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=8ce9af6d69e8a8313e61050488d08899 840w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?w=1100\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=f08355a8d573aa27fc193d7b6f07a3e8 1100w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?w=1650\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=d7a7543805d016206c3438e695093a83 1650w, https://mintcdn.com/cao-analytics-llc/HMDVg49KEyrzyp6G/images/workflow-compose-message.png?w=2500\u0026fit=max\u0026auto=format\u0026n=HMDVg49KEyrzyp6G\u0026q=85\u0026s=044203a762c288771a21613c6ee1e466 2500w`})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Message Contents`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`From`}),` — the sending address. If left blank the default address from your configuration is used.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To`}),` — one or more recipient addresses, separated by commas.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Subject`}),` and `,_jsx(_components.strong,{children:`Message`}),` — the subject line and body of the email.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Attach Dataset`}),` (optional)`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Connection`}),` — the connection the SQL query runs against.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dataset Name`}),` — the file name of the attachment (without extension).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Send If Empty (toggle)`}),` — defaults to on. When off, the email is not sent if the query returns no records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`File Format`}),` — `,_jsx(_components.code,{children:`csv`}),` or `,_jsx(_components.code,{children:`xlsx`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SQL Query`}),` — the query whose result set is attached. Only the first 5,000 records are included.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),` to return to the palette, or `,_jsx(_components.strong,{children:`Cancel`}),` to discard your changes.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Design Workflow","description":null,"href":"/user-guide/design-workflow"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Navigation","slug":"navigation","depth":3,"children":[]},{"title":"Create a New Workflow","slug":"create-a-new-workflow","depth":2,"children":[{"title":"Library","slug":"library","depth":3,"children":[]},{"title":"Components","slug":"components","depth":3,"children":[]}]},{"title":"Workflow Design Palette","slug":"workflow-design-palette","depth":2,"children":[]},{"title":"Activities","slug":"activities","depth":2,"children":[{"title":"Workflow Properties","slug":"workflow-properties","depth":3,"children":[]},{"title":"Workflow Messaging","slug":"workflow-messaging","depth":3,"children":[]},{"title":"Component Properties","slug":"component-properties","depth":3,"children":[]},{"title":"Mapping components","slug":"mapping-components","depth":4,"children":[]},{"title":"Workflow components","slug":"workflow-components","depth":4,"children":[]},{"title":"SQL Script components","slug":"sql-script-components","depth":4,"children":[]},{"title":"Email components","slug":"email-components","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cao-analytics-llc","siteName":"CaO_Data_Platform (KODDA)","title":"Design Workflow - CaO_Data_Platform (KODDA)","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-07T02:04:24.237Z","originalFileLocation":"user-guide/design-workflow.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"CaO_Data_Platform (KODDA)\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Design Workflow - CaO_Data_Platform (KODDA)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CaO_Data_Platform (KODDA)\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.caoanalytics.com/user-guide/design-workflow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cao-analytics-llc.mintlify.site/_mintlify/api/og/v2?division=User+Guide\u0026amp;title=Design+Workflow\u0026amp;theme=08f71a11b2a1fddfe6ddd773\u0026amp;signature=48293c272b237734adfd5d19b0bd5626a6d6df2f0a996434e6441b0daf06932e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Design Workflow - CaO_Data_Platform (KODDA)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cao-analytics-llc.mintlify.site/_mintlify/api/og/v2?division=User+Guide\u0026amp;title=Design+Workflow\u0026amp;theme=08f71a11b2a1fddfe6ddd773\u0026amp;signature=48293c272b237734adfd5d19b0bd5626a6d6df2f0a996434e6441b0daf06932e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cao-analytics-llc/VnvqKJY5XZvKbAmr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CaO_Data_Platform (KODDA)\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.caoanalytics.com/user-guide/design-workflow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/user-guide/design-workflow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.caoanalytics.com/#organization\",\"name\":\"CaO_Data_Platform (KODDA)\",\"url\":\"https://docs.caoanalytics.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.caoanalytics.com#website\",\"name\":\"CaO_Data_Platform (KODDA)\",\"url\":\"https://docs.caoanalytics.com\",\"publisher\":{\"@id\":\"https://docs.caoanalytics.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.caoanalytics.com/user-guide/design-workflow#webpage\",\"url\":\"https://docs.caoanalytics.com/user-guide/design-workflow\",\"name\":\"Design Workflow\",\"dateModified\":\"2026-11-07T02:04:24.237Z\",\"isPartOf\":{\"@id\":\"https://docs.caoanalytics.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.caoanalytics.com/user-guide/design-workflow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.caoanalytics.com/user-guide/design-workflow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documentation\",\"item\":\"https://docs.caoanalytics.com/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User Guide\",\"item\":\"https://docs.caoanalytics.com/user-guide\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Design Workflow\",\"item\":\"https://docs.caoanalytics.com/user-guide/design-workflow\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.caoanalytics.com/user-guide/design-workflow#article\",\"headline\":\"Design Workflow\",\"name\":\"Design Workflow\",\"url\":\"https://docs.caoanalytics.com/user-guide/design-workflow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.caoanalytics.com/user-guide/design-workflow#webpage\"},\"dateModified\":\"2026-11-07T02:04:24.237Z\",\"publisher\":{\"@id\":\"https://docs.caoanalytics.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.caoanalytics.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CaO_Data_Platform (KODDA)\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CaO_Data_Platform (KODDA)","nav":{"global":null,"groups":[{"group":"Documentation","pages":[{"title":"Introduction","href":"/introduction"},{"group":"Getting Started","pages":[{"title":"Getting Started","href":"/getting-started"},{"title":"Login Screen","href":"/getting-started/login-screen"},{"title":"Home Screen","href":"/getting-started/homepage"},{"title":"Manage Users","href":"/getting-started/manage-users"},{"title":"Manage Connections","href":"/getting-started/manage-connections"},{"title":"API Keys","href":"/getting-started/api-keys"},{"title":"User Interface","href":"/getting-started/user-interface"}]},{"group":"User Guide","pages":[{"title":"User Guide","href":"/user-guide"},{"group":"Generate Mapping","pages":[{"title":"Generate Mapping","href":"/user-guide/generate-mapping"},{"title":"Data Type Mappings","href":"/user-guide/generate-mapping/data-type-mappings"},{"title":"Generate Results","href":"/user-guide/generate-mapping/generate-results"}]},{"group":"Edit Mapping","pages":[{"title":"Edit Mapping","href":"/user-guide/edit-mapping"},{"title":"Mapping Details","href":"/user-guide/edit-mapping/mapping-details"},{"title":"Mapping Elements","href":"/user-guide/edit-mapping/mapping-elements"},{"title":"Mapping Activities","description":null,"href":"/user-guide/edit-mapping/mapping-activities"}]},{"title":"Design Workflow","href":"/user-guide/design-workflow"},{"title":"Scheduler","description":"Execute > Schedule Job","href":"/user-guide/schedule-job"},{"title":"Browse Data","href":"/user-guide/browse-data"},{"title":"Map History","href":"/user-guide/mapping-history"},{"title":"Workflow History","href":"/user-guide/workflow-history"},{"title":"Upload Files","href":"/user-guide/upload-files"},{"title":"Migrate Objects","href":"/user-guide/migrate"},{"title":"Google Analytics","href":"/user-guide/google-analytics"},{"title":"Data Dictionary","href":"/user-guide/data-dictionary"}]},{"title":"Architecture Guide","href":"/architecture-guide"},{"title":"Release Notes","href":"/release-notes"},{"group":"Examples","pages":[{"title":"Loading Files From S3","href":"/examples"},{"title":"Incremental Change Tracking","href":"/examples/incremental-change-tracking"},{"title":"Incremental Loads Using Row Version","href":"/examples/incremental-loads-using-row-version"}]}]}]},"basePath":"","title":"Design Workflow - CaO_Data_Platform (KODDA)","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DMoL6lHz.js","lightbox-handle-r17bVUz3.js"]}