Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

activiti-client

0.0.14 • Public • Published

Activiti client

A library providing utility resutful to Activiti.

Installation

npm install activiti-client --save

Config

module.exports =
    username:	username
    password:	password
    serverurl:	"http://activiti-server/activiti-rest/service"		

Usage

env = require('../env.coffee')
activiti = require('../index')(env)

API

  • activiti.definition.create filestream
  • activiti.definition.delete deploymentId
  • activiti.definition.diagram deploymentId
  • activiti.definition.findbyDepId deploymentId
  • activiti.definition.getXML deploymentId
  • activiti.definition.list pageno
  • activiti.instance.create: processdefinitionId user
  • activiti.instance.delete processInstanceId
  • activiti.instance.deleteHistory processInstanceId
  • activiti.instnace.diagram processInstanceId
  • activiti.instance.haveTask definitionId
  • activiti.instance.list user pageno
  • activiti.instance.listHistory pageno
  • activiti.task.update TaskId data
"action" : "complete"
"variables" : []
  • activiti.task.listHistory

Tests

npm test

Keywords

none

Install

npm i activiti-client

DownloadsWeekly Downloads

2

Version

0.0.14

License

ISC

Last publish

Collaborators

  • avatar