0.9.7 • Published 3 months ago

camunda-tasklist-client v0.9.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

Camunda 8 Tasklist API client for Node.js

NPM

Community Extension

Lifecycle

License

A Camunda 8 Tasklist API client for Node.js. Uses camunda-saas-oauth-nodejs to use client credentials from the environment for authentication.

Installation

npm i camunda-tasklist-client

Usage

Set the credential for Camunda SaaS in the environment, then:

import { TasklistApiClient } from 'camunda-tasklist-client'

const tasklist = new TasklistApiClient()

async function main() {
    const { tasks } = await tasklist.getTasks({state: TaskState.CREATED})
    const task = tasks[0]
    console.log('Task', JSON.stringify(task, null, 0))
    const taskid = task.id
    const task = await tasklist.claimTask(taskid,"jwulf")
}

main()

Full API documentation available here.

0.9.7

3 months ago

0.9.6

3 months ago

0.9.4

10 months ago

0.9.5

8 months ago

0.9.3

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago