An example implementation of Flowable external-worker-client, which is meant to execute Flowable tasks from an external worker client.
npm i
export FLOWABLE_HOST=<your_flowable_work_host>
export FLOWABLE_USER=<flowable_user_with_admin_rights>
export FLOWABLE_PASS=<flowable_user_password>
npm run build
node dist/index.js
Of course, running this application from a terminal is possible, but the real power of using an external client app is to maintain custom code utilizing standard software development practices. As such, running a service in debug external from your Flowable instance is highly powerful and vastly increases development efficiently and quality. To run this example in debug, I recommend using an IDE that supports Node.js runtime configurations. Here is an example run configuration using IntelliJ:
Now, we can set break points to stop the task execution and inspect the runtime variable: