The following section outlines the process to follow when you create an Activiti workflow for OpenIDM. Before you start creating workflows, you must configure the Activiti engine, as described in Configuring the Activiti Engine.
-
Define your workflow in a text file, either using an editor, such as Activiti Eclipse BPMN 2.0 Designer, or a simple text editor.
-
Package the workflow definition file as a
.barfile (Business Archive File). If you are using Eclipse to define the workflow, a.barfile is created when you select "Create deployment artifacts". Essentially, a.barfile is the same as a.zipfile, but with the.barextension. -
Copy the
.barfile to theopenidm/workflowdirectory. -
Invoke the workflow using a script (in
openidm/script/) or directly using the REST interface. For more information, see Invoking Activiti Workflows. -
You can also schedule the workflow to be invoked repeatedly, or at a future time. For more information, see the Scheduler Reference

