Scheduled job fails to run when DOMO dataset is deleted
I've set up a job in DOMO workbench to pull data from SQL Server and upload it to DOMO instance. Below are the details:
Job Details
Transport Type: MS SQL ODBC Data Provider
Reader Type: Database Query
DOMO Details
Dataset Name: test_schedule
Dataset Type: Workbench ODBC
I'm just using a normal select * from <table> as database query.
On the first execution, it runs fine and I can see data uploaded successfully in my DOMO instance.
But, if I delete this created dataset on DOMO and try to execute the job again, it fails.
My assumption was that it would recreate the deleted dataset on executing the job again.
Please let me know if I'm missing something or if any details are needed from my end.
Answers
-
@MichelleH Yes, I've set the update method to Replace.
Was trying to understand the behavior of workbench in case the dataset is deleted, while the job is scheduled.
0 -
@akki My understanding is that once a Workbench job is scheduled, then it needs a valid dataset destiantion. If the dataset is deleted, then it no longer knows where to load the data. The cleanest way to resolve it this issue is to rebuild to job since creating a job will also create a destination dataset in your Domo instance.
You should avoid deleting the dataset associated with a Workbench job if you plan on using the job again because of this. Setting the update method to Replace BEFORE deleting the dataset allows you to overwrite the data in the existing dataset instead of having to delete it.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive