Skip to main content

failed SkipState step does not mark the workflow as failed


Hello,

As per your documentation for the SkipState behaviour:

'In case of failures, retries will be performed until exhausted, after which the task is marked as FAILED and the Workflow is marked the same. In the event of a timeout, no retries are undertaken; the task is marked as TIMED_OUT and the Workflow is marked as FAILED.'

But this is not what happens: 

 

3 replies

Jørgen Lund
Seasoned Practitioner
  • Product Manager
  • 103 replies
  • November 14, 2024

Hi @Marwen TALEB. Are you setting the onFailure parameter to skipTask for any of the relevant tasks? 


  • Author
  • Committed
  • 9 replies
  • November 20, 2024

Hello, yes ​@Jørgen Lund 


Jørgen Lund
Seasoned Practitioner
  • Product Manager
  • 103 replies
  • November 21, 2024

Hi ​@Marwen TALEB . From the API spec: 

skipTask: For both failures and timeouts, it will retry until the retries are exhausted. After that, the Task is marked as COMPLETED_WITH_ERRORS and the subsequent tasks are executed.

 

If you’re setting the onFailure parameter to skipTask, workflow should be marked as completed even if those tasks fail after retries. 

 

If not, please open a support ticket and share the workflow execution details JSON, and I’ll take a look! 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings