-
Click the
icon in the left-hand icon bar.
- Click the ”+” button in the top right corner of the jobs listing pane.
- Select the desired account (Domo instance) in the Domo Domain dropdown menu. If you have only one account set up, that account is already chosen for you and the menu is unavailable.
- In the Name field, enter a name for the DataSet Job. This is the name of the job as it appears in Workbench, not the name of the uploaded DataSet in Domo.
-
In the
Transport Type menu, select Local File Provider, External Process File Provider, FTP/SFTP File Provider, or JIRA Connection Provider.
Descriptions for these transport methods are as follows:
JIRA Connection Provider
Lets you retrieve a file from a JIRA server using a JQL query.
- In the Reader Type menu, select JSON.
- In the DataSet Name field, enter the name of the DataSet. This is the name of the uploaded DataSet in Domo. This is the only setting you can change after saving the new job.
- In the DataSet Type field, select the type of DataSet in the dropdown. The DataSet type you select or enter here is reflected as the connector type in Domo after you execute the job.
- Enter a description for the DataSet if desired. This is the description of the DataSet as it appears in Domo.
- Click Create. A new JSON DataSet Job is added to the list of jobs for the currently authenticated account. Note that after creating the job, you cannot edit any of the settings you just configured except for the DataSet name. If you want to change any of the other settings, you must create a new job.
- Click the Configure subtab.
- Click the Edit button under “Source.” A panel opens with options for configuring your file transport and setting options for your JSON data source.
-
(Conditional) Do one of the following:
-
If you selected
Local File Provider as your transport type…
- Click the ellipsis (…) in the File Path field.
- Select the desired JSON file from your machine or network.
- Click Apply.
-
If you selected
External Process File Provider as your transport type…
- Click the ellipsis (…) in the Program Executable field.
- Select the desired executable file from your machine or network.
- (Optional) Enter arguments in the Arguments field, if any.
- Click the ellipsis (…) in the Output File Path field.
- Select the desired output file path on your machine or network. The file type for the output path must be JSON.
- Click Apply.
-
If you selected
FTP/ SFTP File Provider as your transport type…
- Enter the server name in the Server field.
- Enter the port number in the Port field.
- Enter your server credentials in the Username and Password fields.
- Select the desired protocol (FTP, SFTP, or FTPS).
- (Optional) If you have an SSL certificate (SFTP and FTPS only), configure the settings as necessary. For more information about these settings, see SFTP File Provider.
- In the Remote File field, enter the filename for the field you want to import.
- Click Apply.
-
If you selected
JIRA Connection Provider as your transport type…
- In the appropriate fields, enter the username and password you use to connect to your company JIRA instance.
Note: If you try to execute a JIRA job with incorrect credentials, the JIRA account locks. You cannot fix this just by entering correct credentials—you must manually log into JIRA and pass a CAPTCHA validation.- In the Server URL field, enter the URL where your company JIRA server is located.
-
In the
JIRA Query field, enter the query for the JIRA data you want to pull into your DataSet.
Example JQL query
- Click Apply.
-
If you selected
Local File Provider as your transport type…
- Click the Edit button under “Processing.”
- In the Data Source field, enter the data node where you want to begin pulling JSON data. This should be an array of objects.
- In the Delimiter field, enter the delimiter that should be inserted into the column name in flattened results.
-
In the
Flattening Options menu, select the desired flattening option. Options are as follows:
Option Description None
Returns the unflattened JSON string.
Deep
Adds new rows for all nested objects.
Wide
Adds new columns for all nested objects. Only one row is returned.
-
Select the desired update method in the
Update Method menu:
- Select Replace DataSet if you want the DataSet to be replaced entirely upon updating.
- Select Append to DataSet if you want new data to be added to the existing data set upon updating.
- Scheduling a Job in Workbench 5
- Configuring notifications to be sent when the job update succeeds or fails
- Encrypting and decrypting Workbench data
- Creating new columns using calculations
- Setting a custom date format on a column
- Replacing a value in a column
- Combining DataSets
- Applying filters to columns
- Setting impersonation (which causes Workbench to run the job as an Active Directory user).