1.1.13 • Published 5 years ago

bpm-engine-persist-mongoose v1.1.13

Weekly downloads
99
License
-
Repository
-
Last release
5 years ago

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

5 years ago

1.1.12

5 years ago

1.1.11

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.33

6 years ago

1.0.32

6 years ago

1.0.31

6 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.1

6 years ago