← All solutions
EXTEND YOUR PLATFORM

Add your own business logic

Use Lua and workflows to transform data, connect steps and handle failures.

What you can accomplish

Transform incoming order data and coordinate the next actions. Choose the right scripting context, then use a workflow when the task needs multiple steps or branches.

Your reading path

Use the steps below to plan your implementation. The linked authoring manuals provide the technical detail for each step.

STEP 01

Choose where the logic belongs

Compare scripting contexts with workflows and decide where the behaviour should run.

STEP 02

Read and transform data

Use the available CoCoCo context or a pure script, and pass values between workflow steps.

STEP 03

Connect steps and handle failures

Combine Lua with workflow branches and review identity, failures and safe operation.