Page tree
Skip to end of metadata
Go to start of metadata

You can customize the following:

  • session information

  • queries included in the workflow definition

Customizing Session Information

Combined with the workflow definition, a session uniquely defines a workflow by identifying the data set that the workflow acts upon. Treasure Data ensures integrity by not permitting a workflow to have more than one session.

The default session is the current day and time of your browser's time zone.

You can specify a session, which is a time against which the workflow runs. A change of session does not change the workflow revision. You are running your current workflow revision against different session time.

When editing a workflow session, the session time is required. The session ensures all queries within a workflow are acting against the same data. Sessions do not interfere with specified timestamps in a query. The provided SQL contains the variable TD_TIME_RANGE. Timestamps in the query are applied.

  1. Navigate to Data Workbench > Workflows.

  2. Search for mywftest.

  3. Select the down arrow next to New Run.

  4. Select Customize Details.

  5. Specify the Date and time that you want the workflow to run again.

  6. Select Run.
    The workflow will run at the time that you specify.

Customizing Workflow Definitions

When you edit a workflow, you are creating a new revision of the workflow.

  • You can enter syntax, for example, to add notifications and specify schedules.

  • You can add parameters, for example, to specify databases and tables to include as part of the workflow.

  • You can add resource files to the workflow project.

  1. Open your workflow definition.

  2. Select the edit icon.

  3. Edit the definition file to add tasks or queries, and add project files.

  4. Select Save & Commit.

  5. Select New Run.

  • No labels