Workflow files in processes
folder and DB
#97
Closed
MaheshkumarSundaram
started this conversation in
General
Replies: 1 comment 1 reply
-
To accomplish the above:
or if you just want to avoid using processes folders and use only MongoDB (in release 1.3.25)
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @ralphhanna
Currently,
bpmn-server
reads the BPMN files insideprocesses
folder initially at the start and rewrites them to MongoDB. Also, a BPMN can be added or changed frombpmn-client
by usingserver.definitions.import
.I would like make a change to
bpmn-server
as a customization on my end.Current Scenario:
I have a separate React front-end running on a different webserver which is used to design BPMN workflows and save them in a MySQL DB, While saving to MySQL, it's also uses
server.defintions.import
ofbpmn-client
to upload the files intobpmn-server
which writes toprocesses
folder and in turn towf_models
in MongoDB.Expected Scenario:
I would like to eliminate
processes
folder from the overall picture.Why?
Because I am using an external front-end unrelated to
bpmn-server
to design and save workflows, theprocesses
folder is no longer convenient becausewf_models
in MongoDB gets recreated everytimebpmn-server
starts/restarts based on the contents of that folder. I don't wantwf_models
to get recreated or change unless explicitly intructed usingbpmn-client
. The permanent stores for BPMN workflows should be MySQL DB andwf_models
in MongoDB not theprocesses
folder.But I am not sure how would I approach this! Could you please guide me on this scenario?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions