attach-workflow.md
909 Bytes
How to attach a workflow
Deferred. Activiti is wired into the codebase but no workflow is deployed in this dev DB. See Slice 7 (deferred) for the same reasoning.
The shape of the recipe (when a DB with active flows is available):
- Set
gdsmodule.bCheck = 1to flag the module as workflow-enabled.- Populate
gdsmoduleflowwith the flow's window configuration.- Set
gdsmodule.sVersionFlowIdandsVersionFlowCodeto the Activiti process definition's ID and key.- Deploy the BPMN process definition through the Activiti REST API or the
xlyFlowmodule's deployment endpoint.- Verify rows appear in
act_re_procdefafter deployment.- Test by submitting a record —
act_ru_taskshould populate.Once a DB with active workflows is available, this page becomes a proper recipe and Slice 7 becomes a proper slice.