question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

failureWorkflow doesn't run when a TERMINATE task failed the workflow

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Ismaleycommented, Sep 26, 2019

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.

0reactions
apanicker-nflxcommented, Jul 1, 2020

Fixed in #1759

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found