Skip to content

abretz-mimacom/flowable-external-client-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flowable-external-client-js

An example implementation of Flowable external-worker-client, which is meant to execute Flowable tasks from an external worker client.

Installation

npm i

Set env variables

export FLOWABLE_HOST=<your_flowable_work_host>

export FLOWABLE_USER=<flowable_user_with_admin_rights>

export FLOWABLE_PASS=<flowable_user_password>

Build

npm run build

Run

node dist/index.js

Debugging

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: image

Now, we can set break points to stop the task execution and inspect the runtime variable: image

About

An example of Flowable external-worker-client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published