Workflow Engine evaluates a series of actions and control instructions to perform requests against our internal API (using the BXDK package), tag data API, external HTTP APIs etc. using a JSON based Workflow Language.
result_state =
WorkflowEngine.evaluate(workflow,
params: %{
context: %{}
},
json_logic: MyService.JsonLogic,
actions: %{
"foo" => MyApp.FooAction
}
)
This package can be installed by adding workflow_engine
to your list of dependencies in mix.exs
:
def deps do
[
{:workflow_engine, github: "box-id/workflow_engine", tag: "0.1.0"}
]
end