e2ebridge / bpmn

BPMN 2.0 execution engine
467 stars 138 forks source link

Is it possible to force the engine to persist? #16

Open lindleycb opened 9 years ago

lindleycb commented 9 years ago

Hi,

I'm trying to use e2ebridge/bpmn in a meteorjs app to replace a BPM system previously written in Java (using Activiti).

I'm having some trouble as I want to use Meteor's reactivity to show a task list from the MongoDB. All was going well but it seems that when I call taskDone it doesn't flush this to the database. Is there a way to force a persistency flush or to make the persistency more eager? If not, can you guide me as to modify the code to do it as this is becoming something for a deal-breaker and I'm under pressure on this project! Thanks,

Chris

lindleycb commented 9 years ago

I think I may be seeing this because of https://github.com/e2ebridge/bpmn/issues/17