New version 0.13.0!



Complete Running Timers

Workflows are able to wait for a specific time or duration. If we want to manually complete the waiting, we can do that through the completeTimers method of the client.

After having fixed the workflow definition, the instance can be resume by using:

We can also target workflows by tag:

The completeTimers method returns when the adhoc message is sent to Pulsar. We can use the completeTimersAsync method if we want to send the adhoc message asynchronously.

The completeTimers method completes only the timers currently waiting on the main method of the targeted workflow(s).

If we dispatched a parallel method, and want to complete timers on this method, we can do it with:

Retry Failed Workflow Task