Comala Workflows is now Comala Document Management. Click here for the latest documentation.


Follow the steps below to add the Comala Workflows API to your app.

(warning) You must be already familiar with developing Confluence apps to be able to use the Workflows API

1. Add the comalatech-public maven repository in your .m2/settings.xml:


2. Add a dependency to the Comala Workflows API in your pom.xml

(info) From Comala Workflows 5.1.0 onwards, there will always be a corresponding API library with the same version available.

The new Comala Workflows API library coordinates:

    <version>[replace with Comala Workflows version of your choice]</version>

Previous API library, now deprecated (as of Comala Workflows version 5.1), dependency:


3. Import the required components

In your atlassian-plugin.xml:

<component-import name="Comala Workflows Services" key="workflowService"

<component-import name="Comala State Services" key="stateService"

<component-import name="Comala Tasks Services" key="taskService"

<component-import name="Comala Approvals Services" key="approvalService"

or if you are using atlassian spring scanner right inside your plugin component:

    private WorkflowService workflowService;
    private StateService stateService;
    private TaskService taskService;
    private ApprovalService approvalService;

The components will be injected in your plugin components.

4. Use it!

You can now use the API Services, or handle Workflow Events.