rez_core 2.2.89 → 2.2.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module/workflow/repository/task.repository.js +1 -1
- package/dist/module/workflow/repository/task.repository.js.map +1 -1
- package/dist/module/workflow/service/action.service.js +1 -0
- package/dist/module/workflow/service/action.service.js.map +1 -1
- package/dist/module/workflow/service/populate-workflow.service.js +1 -1
- package/dist/module/workflow/service/populate-workflow.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/workflow/repository/task.repository.ts +1 -1
- package/src/module/workflow/service/action.service.ts +1 -0
- package/src/module/workflow/service/populate-workflow.service.ts +2 -1
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ export class TaskRepository {
|
|
|
30
30
|
if (!action?.length) return;
|
|
31
31
|
|
|
32
32
|
const todoListMasterItemId = await this.dataSource.query(
|
|
33
|
-
`SELECT id FROM cr_list_master_items WHERE code = '
|
|
33
|
+
`SELECT id FROM cr_list_master_items WHERE code = 'in_progress' and organization_id = ? and listtype = 'TKST' LIMIT 1;`,
|
|
34
34
|
[loggedInUser.organization_id],
|
|
35
35
|
);
|
|
36
36
|
|
|
@@ -106,6 +106,7 @@ export class ActionService extends EntityServiceImpl {
|
|
|
106
106
|
const resourceMapping = {
|
|
107
107
|
stg_act_mapping_id: stageActionMappingData.id,
|
|
108
108
|
organization_id: entityData.organization_id,
|
|
109
|
+
level_id: entityData.level_id,
|
|
109
110
|
form_id: actionData.form,
|
|
110
111
|
type: 'form',
|
|
111
112
|
entity_type: 'ARMS',
|
|
@@ -279,7 +279,8 @@ export class PopulateWorkflowService extends EntityServiceImpl {
|
|
|
279
279
|
|
|
280
280
|
//get view master form
|
|
281
281
|
const formViewMaster = await this.dataSource.query(
|
|
282
|
-
`SELECT id FROM cr_view_master WHERE code = "LEAD_FORM"
|
|
282
|
+
`SELECT id FROM cr_view_master WHERE code = "LEAD_FORM" and organization_id = ?`,
|
|
283
|
+
[organization_id],
|
|
283
284
|
);
|
|
284
285
|
|
|
285
286
|
// Step 4: Use the matched new item's id (if found)
|