Packages

A BPMN engine for elixir

Current section

Files

Jump to
bpmn lib bpmn activity task user.ex
Raw

lib/bpmn/activity/task/user.ex

defmodule Bpmn.Activity.Task.User do
@moduledoc """
Handle passing the token through an event element.
"""
@doc """
Receive the token for the element and decide if the business logic should be executed
"""
def tokenIn(elem, context), do: execute(elem, context)
defp tokenOut(elem, context), do: {:not_implemented}
@doc """
Execute the start event business logic
"""
def execute(elem, context), do: tokenOut(elem, context)
end