failureWorkflow doesn't run when a TERMINATE task failed the workflow
See original GitHub issueI noticed that when I had a task fail out - either FAILED
or FAILED_WITH_TERMINAL_ERROR
, my configured failureWorkflow
would be started.
However, when I terminated the workflow with a TERMINATE
system task, and set the terminationStatus
to FAILED
, my failure workflow isn’t scheduled.
Is this expected?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Workflow Task Failed - Workflow not failed - Community Support
Hi, I'm developing a workflow and I've done something wrong and I get the following error: In my terminal logs, I can see...
Read more >Fail the workflow if the command task fails in IDQ
I want to fail the workflow if the command task fails i.e. throws a non zero exit code. How can i achieve that...
Read more >Workflow Failure & Workflow Termination | Orkes Conductor ...
Note: A failure workflow will run whenever a workflow fails, not just on the termination task with status FAILED .
Read more >Fail Github Actions Workflow if one job is failed (while keeping ...
The cause of workflow not failing is that 2nd job has to have continue-on-error: true attribute. I ended up adding another job at...
Read more >Terminate the workflow in Informatica BDM
By default the workflow will be marked as success even-though any of the mapping or tasks failed. You can use the “terminate event”...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello @kyle--lee,
I’m not fully aware of the details of this failureWorkflow feature, but for the TERMINATE task, the implementation only changes the wokflow status and it’s output, then the decider service takes care of the rest. From a quick check here the failureWorkflow is referenced in terminateWorkflow method and I’m not sure this method is being called.
Fixed in #1759