diff --git a/index.js b/index.js index d32a19e..dda6f62 100644 --- a/index.js +++ b/index.js @@ -129,7 +129,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); for await (const workflow of Object.keys(allWorkFlowInfo)) { - if (workflow == 56) { + if (workflow == 57) { const data = allWorkFlowInfo[workflow]; console.log(data); const pathsCollection = data?.root?.validPaths || []; @@ -141,7 +141,8 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); //inja masir start mishe for await (let path of pathCollection) { - + const process = await bpmsDB.bpms_process.findByPk(path,{raw:true}); + console.log(path,process); return; } }