0.9.7 • Published 1 year ago

camunda-tasklist-client v0.9.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

0.9.6

1 year ago

0.9.4

2 years ago

0.9.5

2 years ago

0.9.3

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago