A simple waterflow wrapper for seneca microservices
npm install seneca-wflowBasic building block for workflows.
Chain microservices based on business workflow.
var _seneca = require('seneca')()
.use('seneca-wflow', {
filename:'./workflow/yourflow',// module that contains the business flow
sequence:['process1', 'process2',...]
});
run with flow without seneca
$ node example/example1 --seneca.log.all | grep flowEngine
Example of creating a new workflow using the create command.
$ node example/example2
Add loging to your plugin
$ node example/example2 --seneca.log.all | grep example2
$ node example/example3
var options={
filename:"example4_seneca", // module
sequence:["hello","preWF:generateLoop"]
}
$ node example/example4