Socket
Book a DemoInstallSign in
Socket

camunda-tasklist-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camunda-tasklist-client

A Camunda 8 Tasklist API client for Node.js

latest
Source
npmnpm
Version
0.9.7
Version published
Maintainers
1
Created
Source

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.

Keywords

Camunda

FAQs

Package last updated on 29 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts