Is it currently possible to pause/resume a workflow? I was thinking about using signals to pause or resume a workflow execution. That would probably mean to wrap all the “ExecuteActivity” calls with a check for the latest signal value, and potentially waiting for it to change.
Is this the way to go or is it possible to pause a workflow execution at the scheduler level directly?
If you are looking to pause all workflow executions on a TaskQueue, then simplest mechanism is to shutdown workers polling on that TaskQueue. Any workflows which are in flight will not make any forward progress.
Instead if you want to pause a single workflow execution then you might have to use signal to put it in paused state as your own application logic.
Is temporal workflow allow requesting human approval by email ? in our case, we many require to wait for an authorize person to respond before continuing workflow.
Temporal doesn’t have direct email integration. Temporal workflow can wait on an external signal which is emitted as an API call from one of its SDKs (or though direct gRPC call).
The signal can be emitted based on any external logic. It can be based on email receival, but it can be any other code like reaction to a web form submission or button click in a mobile app.
but I found “blocked on chan…” err at the temporal ui “stack trace” cause i use “selector.Select(ctx)” in a coroutine started by “workflow.Go”, is it matter
Hi, is there a way to pause/resume workflow/activity execution via Temporal web interface or is it feature planned to be implemented in future releases?