|
|
@ -147,6 +147,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
|
|
|
|
|
|
|
|
for await (let path of pathCollection) { |
|
|
|
for await (let path of pathCollection) { |
|
|
|
const process = await bpmsDB.bpms_process.findByPk(path, { raw: true }); |
|
|
|
const process = await bpmsDB.bpms_process.findByPk(path, { raw: true }); |
|
|
|
|
|
|
|
pathTraveled.push(+path); |
|
|
|
console.log(path, process); |
|
|
|
console.log(path, process); |
|
|
|
if ([0, 1].includes(+process.type)) { |
|
|
|
if ([0, 1].includes(+process.type)) { |
|
|
|
const processData = await initFunctionData({ |
|
|
|
const processData = await initFunctionData({ |
|
|
|