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
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 657 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive