Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

camunda-worker-node Example

This example shows how to automate a simple order process using Camunda, external tasks and camunda-worker-node.

About

The following process is the basis of this example:

Process

It defines two external tasks, orderProcess:checkout and orderProcess:shipment.

The script index.js bootstraps camunda-worker-node and hooks in the (external) implementation for both tasks.

Upon execution the workers log the work they perform.

Work log

Usage

If you don't have Camunda running already, start it via:

npm run support:start-camunda

Stop it later on via

npm run support:stop-camunda

Deploy the process:

npm run support:deploy

Start 1000 process instances:

npm run support:start-process -- --stream

Start workers:

npm run start-workers

LICENSE

MIT