@kyuda/node-red-contrib-camunda 3.0.2

Camunda 7 for Node-RED

npm install @kyuda/node-red-contrib-camunda

node-red-contrib-camunda

Platform Release NPM

This module leverages the camunda-external-task-client-js client library to bring Camunda 7 awesomeness to Node-RED!

Nodes

worker / complete

task-worker and complete node

Creates an external task worker and subscribes to specific topic. The worker node outputs a Node-RED message for each newly received external task task. When a Node-RED message is received at the complete nodes's input, that external task gets completed in Camunda (with either success, failure or error).

Please note: These nodes only work in combination. Make sure, the complete object from the worker node output payload gets injected into the input of the complete node.

create process instance

workflow-instance node

A new process instance gets started in Camunda, when a Node-RED message is received at the input. Once the process instance has been created, the output sends a Node-RED message containing some meta-info, i.e. the processInstanceId.

correlate message

publish-message node

This node correlate a message to Camunda, when a Node-RED message is received at the input.

deploy

deploy node

Inject a bpmn definition definition string to the input of this node to deploy it to Camunda. You can use the 'file in' node from Node-RED to read a bpmn file from disk, or get the process definition from anywhere you want.

variables helper

variables-helper node

To help you build payloads to create process instances or correlate messages, a variable helper is provided.

Examples

Flow containing examples with all Camunda Nodes.

  • worker / complete
  • create process instance
  • correlate message
  • deploy
  • variables helper

flows.json

Flow

process1.bpmn

Process

Credits

The package is developed and maintained by Kyuda.

Node Info

Version: 3.0.2
Updated 8 months, 3 weeks ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

3 in the last week

Nodes

  • camunda-config
  • camunda-task-worker
  • camunda-complete-task
  • camunda-workflow-instance
  • camunda-publish-message
  • camunda-variables-helper
  • camunda-deploy

Keywords

  • node-red
  • camunda
  • bpmn
  • workflow
  • microservice

Maintainers