menu

Signals

Arguments sent with any of viewflow signals:

sender

The flow class.

process

Process instance

task

Task instance

Flow live cycle signals

signals.flow_started

Happens when flow start task done

signals.flow_finished

Happens right after process had finished

Task live cycle signals

signals.task_started

Happens when long running task starts execution

signals.task_failed

Happens on flow task error

Additional arguments

exception

Exception instance

traceback

Traceback object

signals.task_finished

Happens when any task finished successfully