From 020d6c7fbb31eba3b8277ec6635824fc15111000 Mon Sep 17 00:00:00 2001 From: nikhila-aot Date: Tue, 4 Jun 2024 23:14:36 -0700 Subject: [PATCH] changes for fixing 365 --- .../Site Risk Classification Report.json | 154 +++++++++++++++++- .../subProcess/NOMBundleWorkflow.bpmn | 13 +- 2 files changed, 160 insertions(+), 7 deletions(-) diff --git a/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json b/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json index 75a693df..4ce555ea 100644 --- a/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json +++ b/forms-flow-ai/epd-forms/bundling/Site Risk Classification Report.json @@ -5294,7 +5294,7 @@ "attributes": {}, "components": [ { - "id": "ele95t000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ele95t0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "spropertyOwnerAndOrOperator", "tree": false, "type": "panel", @@ -13601,8 +13601,8 @@ "type": "simple", "simple": { "show": true, - "when": "applicationStatus", - "eq": "Resubmit" + "when": "nomStatus", + "eq": "true" } }, "actions": [ @@ -13645,7 +13645,7 @@ "addons": [], "inputType": "radio", "fieldSet": false, - "id": "erkkev6o", + "id": "ezhj51l", "defaultValue": "" } ], @@ -14767,7 +14767,7 @@ "attributes": {}, "components": [ { - "id": "eks0gu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eks0gu000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "exposurePathwayQuestionnaireAffectedParcel", "tree": false, "type": "panel", @@ -18710,7 +18710,7 @@ } ], "collapsible": false, - "id": "eo5mwyp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eo5mwyp0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -19885,6 +19885,77 @@ "inputType": "hidden", "id": "e12wr4" }, + { + "label": "nomStatus", + "customClass": "", + "modalEdit": false, + "defaultValue": null, + "persistent": true, + "protected": false, + "dbIndex": false, + "encrypted": false, + "redrawOn": "", + "customDefaultValue": "", + "calculateValue": "if (data.applicationStatus === 'Resubmit')\r\n{\r\n\tif (data.nomBundleStatus === 'SIA Returned')\r\n\t\tvalue = false;\r\n\telse\r\n\t\tvalue = true;\r\n}", + "calculateServer": false, + "key": "nomStatus", + "tags": [], + "properties": {}, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "type": "hidden", + "input": true, + "tableView": false, + "placeholder": "", + "prefix": "", + "suffix": "", + "multiple": false, + "unique": false, + "hidden": false, + "clearOnHide": true, + "refreshOn": "", + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "widget": { + "type": "input" + }, + "validateOn": "change", + "validate": { + "required": false, + "custom": "", + "customPrivate": false, + "strictDateValidation": false, + "multiple": false, + "unique": false + }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "allowCalculateOverride": false, + "showCharCount": false, + "showWordCount": false, + "allowMultipleMasks": false, + "addons": [], + "inputType": "hidden", + "id": "ec59bk8" + }, { "label": "srcrBundleStatus", "customClass": "", @@ -19956,6 +20027,77 @@ "inputType": "hidden", "id": "ec2f3y" }, + { + "label": "nomBundleStatus", + "customClass": "", + "modalEdit": false, + "defaultValue": null, + "persistent": true, + "protected": false, + "dbIndex": false, + "encrypted": false, + "redrawOn": "", + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "key": "nomBundleStatus", + "tags": [], + "properties": {}, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, + "type": "hidden", + "input": true, + "tableView": false, + "placeholder": "", + "prefix": "", + "suffix": "", + "multiple": false, + "unique": false, + "hidden": false, + "clearOnHide": true, + "refreshOn": "", + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "widget": { + "type": "input" + }, + "validateOn": "change", + "validate": { + "required": false, + "custom": "", + "customPrivate": false, + "strictDateValidation": false, + "multiple": false, + "unique": false + }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "allowCalculateOverride": false, + "showCharCount": false, + "showWordCount": false, + "allowMultipleMasks": false, + "addons": [], + "inputType": "hidden", + "id": "er6rd99" + }, { "label": "srcrUtilKeys", "customClass": "", diff --git a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn index 58ee631a..b5866108 100644 --- a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn +++ b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/NOMBundleWorkflow.bpmn @@ -142,6 +142,16 @@ task.execution.setVariable('userRole','Site Information Advisor'); + + + execution.setVariable('nomBundleStatus', "SIA Returned"); + + + + ["applicationId", "applicationStatus", "nomBundleStatus"] + + + ${action == 'Returned'} @@ -738,6 +748,7 @@ system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment')); ${action == 'Accepted'} + ${action == 'Recheck'} @@ -1360,4 +1371,4 @@ execution.setVariable('returnedBy', "cssaTeam"); - \ No newline at end of file +