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.
Choose where the logic belongs
Compare scripting contexts with workflows and decide where the behaviour should run.
Read and transform data
Use the available CoCoCo context or a pure script, and pass values between workflow steps.
Connect steps and handle failures
Combine Lua with workflow branches and review identity, failures and safe operation.