attach-workflow.md 963 Bytes

How to attach a workflow

Deferred. Activiti is wired into the codebase but no workflow is deployed in the current live DB. See Slice 7 (deferred) for the same reasoning.

The shape of the recipe (when a DB with active flows is available):

  1. Set gdsmodule.bCheck = 1 to flag the module as workflow-enabled.
  2. Populate gdsmoduleflow with the flow's window configuration.
  3. Set gdsmodule.sVersionFlowId and sVersionFlowCode to the Activiti process definition's ID and key.
  4. Deploy the BPMN process definition through the Activiti REST API or whichever workflow deployment surface is actually enabled in the target environment.
  5. Verify rows appear in act_re_procdef after deployment.
  6. Test by submitting a record — act_ru_task should populate.

Once a DB with active workflows is available, this page becomes a proper recipe and Slice 7 becomes a proper slice.