1.1.13 • Published 6 years ago
bpm-engine-persist-mongoose v1.1.13
bpm-engine-persist-mongoose
Persistency module to save all engine state in a MongoDB database.
Installation
$ npm install bpm-engine-persist-mongoose --save
Usage
Example of how to use PersistMongoose when instantiating a BPMEngine Instance.
const BPMEngine = require('bpm-engine');
const PersistMongoose = require('bpm-engine-persist-mongoose');
const persistMongoose = new PersistMongoose(
{
host: '<server host>',
port: '<server port number>'
},
{
/* mongoose connection options */
},
{
processInstance: 'PI',
tokenInstance: 'TI'
}
);
// Third argument is optional and can be used to define different collection names which
// you'd like BPMEngine to use, by default its always bpmengine_processinstances and bpmengine_tokeninstances.
const engine = new BPMEngine({
persist: persistMongoose
});
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.33
7 years ago
1.0.32
7 years ago
1.0.31
7 years ago
1.0.30
7 years ago
1.0.29
7 years ago
1.0.28
7 years ago
1.0.27
7 years ago
1.0.26
7 years ago
1.0.25
7 years ago
1.0.24
7 years ago
1.0.23
7 years ago
1.0.22
7 years ago
1.0.21
7 years ago
1.0.20
7 years ago
1.0.19
7 years ago
1.0.18
7 years ago
1.0.17
7 years ago
1.0.16
7 years ago
1.0.15
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.1
7 years ago