wfnet

Fred Youhanaie fyrlang@anydata.co.uk

Copyright 2023 Fred Youhanaie

Introduction

wfnet provides a configuration based workflow enactment engine within an Erlang application.

About workflows

Here a workflow is an arrangement of tasks (activities) where each task is only activated when, depending on the task type, one or all of its predecessor(s) have terminated.

The concept, and implementation, of workflows here follows those described on the Workflow patterns web site, more specifically the basic control flow patterns.

Effectively, the workflow is a directed graph of tasks of one of the following types:

wftask: Within wfnet tasks are Erlang functions, either an {Mod, Fun, Args} triple, or a function expression.

The special tasks are internally defined pseudo-tasks as follows: