Workflows to check Dataflow executions
Hello.
I've been trying to use the "Get Dataflow Execution Status" and "Was Last DataFlow Run Successful" functions, but I'm getting weird results.
I purposely created a dataflow that always fails:
Then I test these functions on the workflow editor I get a "FAILURE" and "false" responses (see images).
However, once I deploy the workflow and run it, the workflow follows the path as if the Dataflow was successful....Am I doing something wrong?
Answers
-
Are you saying the status variable was updated by the "Get Dataflow Execution Status" step?
Can you post a screenshot of what shows up for the inputs and outputs for that step, please?0 -
On my latest version I'm using the output from "Was Last DataFlow Run Successful":
And yes, it has a "true" value.
0 -
But the other block, "Get DataFlow Execution Status" is also "SUCCESS":
0 -
Hi @JobQuiroz ,
I'm not 100% sure, but my best guess to what may be happening here is:
In Workflow Editor (test mode), you're seeing the correct result ("FAILURE" and false). But when it's deployed:The workflow may be using cached/stale status, or
The check runs before the DataFlow has actually finished updating its execution state.
So when your workflow runs right after triggering a DataFlow, and then checks the execution status immediately after, it might prematurely think it succeeded — simply because the DataFlow status hasn’t updated yet in the backend.
Again, this is all my guess from what I can see from the images. To get a more accurate explanation on this, you can reach out to domo's support team as they can delve deeper into this and provide you with a more concrete solution.Thanks!
0 -
The API call to the workflow status should return a real time status of the dataflow. The dataflows status isn't cached or stored anywhere…
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive