> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Editing a SQL DataFlow

export const InlineImage = ({src, alt = '', height = '1.6em'}) => {
  return <img noZoom src={src} alt={alt} style={{
    display: 'inline',
    verticalAlign: 'start',
    height: height,
    margin: '0'
  }} />;
};

The options available when editing an existing SQL DataFlow are almost the same as those available when you create one.

**To edit a DataFlow,**

1. Click **Data** in the toolbar at the top of the screen.
2. Click
   <InlineImage src="/images/kb/ka05w00000123hf-00N5w00000Ri7BU-0EM5w000005vOsA.png" /> in the left-hand navigation pane.

   The **DataFlows** tab appears. This tab lists all **DataFlows** in Domo and can be filtered using a variety of filter criteria.
3. Locate the DataFlow you want to edit in the list then click it.
4. Click
   <InlineImage src="/images/kb/ka05w00000123i8-00N5w00000Ri7BU-0EM5w000005vOvH.png" /> on the right-hand side of the screen.

   The **Edit DataFlow** view for this DataFlow opens.
5. Make the desired edits to the DataFlow. For information about available options, see the previous section.
6. (Optional) If you want to automatically run the DataFlow when the input DataSets are updated, check the boxes for those DataSets at the bottom of the screen.
7. (Conditional) Do one of the following to save your DataFlow:

   * If you want to run the script that outputs this DataFlow to usable DataSets in Domo, click **Save and Run**, enter a version description if desired, then click **Save** to confirm.

     This starts the process of generating DataSets from the DataFlow, or updating the DataSets if they have already been generated. This generation/updating process may take from a minute to an hour or more, depending on the size of the input DataSets.
   * If you want to save your progress on this DataFlow without outputting it to DataSets, updating the DataSets at this time, and allow you to continue to edit the DataFlow, click **Save**, enter a version description if desired, then click **Save** to confirm. You can run the DataFlow to output DataSets at any time by mousing over the card for the DataFlow in the **DataFlows** listing, clicking <InlineImage src="/images/kb/ka05w00000123hf-00N5w00000Ri7BU-0EM5w000005vOsO.png" />, and selecting **Run**.
   * If you want to save this DataFlow without outputting it to DataSets or updating the DataSets at this time, click **Save and Close**, enter a version description if desired, then click **Save** to confirm. You can run the DataFlow to output DataSets at any time by mousing over the card for the DataFlow in the **DataFlows** listing, clicking <InlineImage src="/images/kb/ka05w00000123hf-00N5w00000Ri7BU-0EM5w000005vOsO.png" />, and selecting **Run**.

When you save a DataFlow, an entry for this version is added to the **Versions** tab in the Details view for the DataFlow. If you entered a description when saving, that description is shown in the entry for the DataFlow. For more information about versions, see [Viewing the Version History for a DataFlow](/s/article/360042923074 "Viewing the Version History for a DataFlow").
