Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use the Comala Workflows API Services to request and manipulate State, Tasks, Approval and Approval Document Activity information.

Usage

The API Services are divided in four groups

  • State Services
  • Task Services
  • Approval Services
  • Workflow Services
  • DocumentActivityService

The service objects have to be imported in your atlassian-plugin.xml:

Code Block
languagexml
themeRDark
<component-import name="Comala Workflows API" key="workflowService" interface="com.comalatech.workflow.WorkflowService"/>
<component-import name="Comala State Services" key="stateService" interface="com.comalatech.workflow.StateService"/>
<component-import name="Comala Tasks Services" key="taskService" interface="com.comalatech.workflow.TaskService"/>
<component-import name="Comala Approvals Services" key="approvalService" interface="com.comalatech.workflow.ApprovalService"/>
<component-import name="Comala Document Activity API" key="documentActivitySevice" interface="com.comalatech.workflow.DocumentActivityService"/>

The services can then be imported by your plugin modules:

...