This example attempts to illustrate the usage of the JS SDK in a node.js environement.
The index.js
file of this directory should be clear enough to give you an idea of how to implement the SDK in your node.js applications.
You will need to install node.js to run this example and then:
- Clone the respository
- Start a Camunda Platform distribution
- Go to the directory of this example
- Install the dependencies with
npm install
- Run the example with
node index.js
Note: If you want to start a process:
- Select "Deploy process"
- Set a name for your deployment (
weodihx7
is OK) - Answer a few things
- When asked "In which directory the files to be deployed?", press "enter"
(or give the full path to a directory containing BPMN files) - Select "Working.bpmn" (if you pressed "enter" at previous step)