aelassas / wexflow

.NET Workflow Engine and Automation Platform

Home Page:https://wexflow.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question

TechyGuy99 opened this issue · comments

If i have a workflow where a task or tasks fail,
how do i roll back to valid state?

Do you have a retry framework incorporated in such a case?

Yes, If a task fails:

- The retryCount option allows to retry a task a certain number of times in case of
  failure. Defaults to 0 (no retry).
- The retryTimeout option indicates the waiting time between two tries in milliseconds.
  Defaults to 1500ms.

If the workflow fails: https://github.com/aelassas/wexflow/wiki/Samples#workflow-events

but you need to edit the workflow from xml view for retry options and workflow events.