1.1.13 • Published 7 years ago

bpm-engine-persist-mongoose v1.1.13

Weekly downloads
99
License
-
Repository
-
Last release
7 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

7 years ago

1.1.12

7 years ago

1.1.11

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.33

8 years ago

1.0.32

8 years ago

1.0.31

8 years ago

1.0.30

8 years ago

1.0.29

8 years ago

1.0.28

8 years ago

1.0.27

8 years ago

1.0.26

8 years ago

1.0.25

8 years ago

1.0.24

8 years ago

1.0.23

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.1

8 years ago