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
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive