diff --git a/forms-flow-ai/epd-forms/bundling/Detailed Ecological Risk Assessment Checklist.json b/forms-flow-ai/epd-forms/bundling/Detailed Ecological Risk Assessment Checklist.json index 7239a0ec..cb5a427c 100644 --- a/forms-flow-ai/epd-forms/bundling/Detailed Ecological Risk Assessment Checklist.json +++ b/forms-flow-ai/epd-forms/bundling/Detailed Ecological Risk Assessment Checklist.json @@ -177,12 +177,38 @@ }, { "title": "Reviewer Actions", + "theme": "default", + "tooltip": "", + "customClass": "", "collapsible": false, - "hideLabel": true, + "hidden": false, + "hideLabel": false, + "disabled": false, + "modalEdit": false, "key": "reviewerActions", - "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-client\") || \r\nroles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\")|| \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") ||\r\nroles.includes(\"formsflow-reviewer/formsflow-client-reviewer\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n if (data.riskclassification === \"exempt\") {\r\n show = false;\r\n } else {\r\n show = true;\r\n }\r\n}", + "tags": [], + "properties": {}, + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-client\") || \r\nroles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\")|| \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") ||\r\nroles.includes(\"formsflow-reviewer/formsflow-client-reviewer\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n show = true;\r\n}", + "conditional": { + "json": "", + "show": null, + "when": null, + "eq": "" + }, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "type": "panel", "label": "Panel", + "breadcrumb": "default", + "tabindex": "", "input": false, "tableView": false, "components": [ @@ -195,60 +221,35 @@ "label": "Previous Reviewer", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "prevReviewer", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\n\r\nconst roles = UserDetails[\"role\"];\r\n\r\n\r\nif(roles.includes(\"formsflow-reviewer\") && \r\n!roles.includes(\"formsflow-reviewer/caseworker\") &&\r\n!(roles.includes(\"formsflow-reviewer/sdm\") && data.typeOfReview === \"applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc\")) {\r\n show = true;\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "const submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\nconst filteredData = _.pick(data, data.deraUtilKeys);\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Recheck'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Recheck'\r\n }); \r\n});", "input": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -256,6 +257,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -265,13 +267,32 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "eewy7m" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "em2u3g" } ], "offset": 0, @@ -287,60 +308,35 @@ "label": "Next Reviewer", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "nextReviewer", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\n\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer/caseworker\")) {\r\n show = true;\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "const submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\n\r\nconst filteredData = _.pick(data, data.deraUtilKeys);\r\n\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Accepted'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Accepted'\r\n }); \r\n});", "input": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -348,6 +344,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -357,72 +354,66 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "ed219g" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "e7lx1r3q" }, { "label": "Approved", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "approved", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\n\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer/sdm\")) {\r\n show = true;\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "\r\nconst submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\nconst filteredData = _.pick(data, data.deraUtilKeys);\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Approved'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Approved'\r\n }); \r\n});", "input": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -430,6 +421,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -439,13 +431,32 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "ex948n9" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "e6rusls" } ], "width": 3, @@ -462,41 +473,10 @@ "action": "custom", "showValidations": false, "theme": "warning", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, "disabled": true, "tableView": false, - "modalEdit": false, "key": "needsMoreInfo", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\nconst roles = UserDetails[\"role\"];\r\nconst taskUrl = window.location.pathname.split('/');\r\nconst taskId = taskUrl[2];\r\nconst authToken = localStorage.getItem(\"authToken\");\r\nconst bpmUrl = localStorage.getItem(\"bpmApiUrl\");\r\nvar reqUrl = bpmUrl + \"/task/\" + taskId + \"/variables\";\r\n\r\n\r\n getData(reqUrl, authToken).then((response) => {\r\n \r\n\t if(roles.includes(\"formsflow-reviewer\")) {\r\n \tvar applicationStatus = response.applicationStatus ? response.applicationStatus.value : '';\r\n\tvar isResubmitted = response.isSrcrResubmitted ? response.isSrcrResubmitted.value : false;\r\n \t show = true;\r\n \t \r\n\r\n \t\t\r\n\t if (isResubmitted) {\r\n\t component.disabled = true;\r\n\t component.description = 'Disabled since SRCR resubmission in progress';\r\n\t instance.triggerRedraw();\r\n\t } else {\r\n\t component.description = '';\r\n\t component.disabled = false;\r\n\t instance.triggerRedraw();\r\n\t }\r\n\t }\r\n\t else\r\n\t {\r\n \t\tshow = false;\r\n\t }\r\n });\r\n\r\n\r\nasync function getData(reqUrl, authToken) {\r\n const response = await fetch(reqUrl, {\r\n method: \"GET\",\r\n headers: {\r\n \"Content-type\": \"application/json\",\r\n Accept: \"application/json\",\r\n Authorization: \"Bearer \" + authToken,\r\n },\r\n });\r\n const data = await response.json();\r\n return data;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "const submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;+submissionId;\r\nconst filteredData = _.pick(data, data.deraUtilKeys);\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Returned'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Returned'\r\n }); \r\n});", "input": true, @@ -504,18 +484,25 @@ "keyModified": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -523,6 +510,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -532,13 +520,31 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "eozzsx" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "id": "er4piec" } ], "size": "md", @@ -555,59 +561,35 @@ "action": "custom", "showValidations": false, "theme": "danger", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "rejected", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\n\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer\") && \r\n!(roles.includes(\"formsflow-reviewer/csap\") ||\r\nroles.includes(\"formsflow-reviewer/csap-society\"))) {\r\n show = true;\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "const submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\nconst filteredData = _.pick(data, data.deraUtilKeys);\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Rejected'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Rejected'\r\n }); \r\n});\r\n", "input": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -615,6 +597,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -624,13 +607,31 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "e44vww" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "id": "ezt2gnf" } ], "size": "md", @@ -705,38 +706,31 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "evh2su" + "id": "e6e8v9c" } ], "keyModified": true, "placeholder": "", "prefix": "", - "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, - "hidden": false, "clearOnHide": false, "refreshOn": "", "redrawOn": "", - "modalEdit": false, "dataGridLabel": false, "labelPosition": "top", "description": "", "errorLabel": "", - "tooltip": "", - "tabindex": "", - "disabled": false, "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, "widget": null, - "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -746,38 +740,50 @@ "multiple": false, "unique": false }, - "conditional": { - "show": null, - "when": null, - "eq": "" - }, - "overlay": { - "style": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, - "properties": {}, "allowMultipleMasks": false, "addons": [], "tree": false, "lazyLoad": false, - "theme": "default", - "breadcrumb": "default", - "id": "e2pmea" + "id": "ek6yob" }, { "title": "Reviewer Actions", + "theme": "default", + "tooltip": "", + "customClass": "", "collapsible": false, - "key": "cssaBundleActions", - "customConditional": "\r\nconst UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") ||\r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\")|| \r\nroles.includes(\"formsflow-reviewer/caseworker\")|| \r\nroles.includes(\"formsflow-reviewer/sdm\")) {\r\n if (data.riskclassification === \"exempt\"){\r\n show = true;\r\n } else {\r\n show = false;\r\n }\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", + "hidden": false, + "hideLabel": false, + "disabled": false, + "modalEdit": false, + "key": "deraBundleActions", + "tags": [], + "properties": {}, + "customConditional": "\r\nconst UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-client\") || \r\nroles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") ||\r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\")|| \r\nroles.includes(\"formsflow-reviewer/caseworker\")|| \r\nroles.includes(\"formsflow-reviewer/sdm\"))\r\n{\r\n show = false;\r\n}", + "conditional": { + "json": "", + "show": null, + "when": null, + "eq": "" + }, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "type": "panel", "label": "Panel", + "breadcrumb": "default", + "tabindex": "", "input": false, "tableView": false, "components": [ @@ -861,7 +867,7 @@ "block": false, "disableOnInvalid": false, "theme": "primary", - "id": "eh2ix9" + "id": "etca1sw" } ], "width": 3, @@ -877,61 +883,36 @@ "label": "Next Reviewer", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "sendBundleToNextReviewer", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "\r\nconst UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\n\r\n\r\n\r\nconst roles = UserDetails[\"role\"];\r\n\r\n\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") || \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") || \r\nroles.includes(\"formsflow-reviewer/caseworker\")) {\r\n show = true;\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "form.emit('customEvent', {\n type: \"actionComplete\", \n component: component,\n actionType:'Accepted'\n });", "input": true, "keyModified": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -939,6 +920,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -948,13 +930,32 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "em2s64" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "ey4wl2h" }, { "label": "Approved", @@ -1031,7 +1032,7 @@ "block": false, "disableOnInvalid": false, "theme": "primary", - "id": "e2wcgt7" + "id": "eqnqvd6" } ], "width": 3, @@ -1118,7 +1119,7 @@ "rightIcon": "", "block": false, "disableOnInvalid": false, - "id": "e0z6swf" + "id": "ejbws4" } ], "size": "md", @@ -1205,7 +1206,7 @@ "rightIcon": "", "block": false, "disableOnInvalid": false, - "id": "eq7crx" + "id": "ee403b" } ], "size": "md", @@ -1280,39 +1281,31 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "etzdd6x" + "id": "ei1ile" } ], "keyModified": true, "placeholder": "", "prefix": "", - "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, - "hidden": false, "clearOnHide": false, "refreshOn": "", "redrawOn": "", - "modalEdit": false, "dataGridLabel": false, "labelPosition": "top", "description": "", "errorLabel": "", - "tooltip": "", - "hideLabel": false, - "tabindex": "", - "disabled": false, "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, "widget": null, - "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -1322,38 +1315,50 @@ "multiple": false, "unique": false }, - "conditional": { - "show": null, - "when": null, - "eq": "" - }, - "overlay": { - "style": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, - "properties": {}, "allowMultipleMasks": false, "addons": [], "tree": false, "lazyLoad": false, - "theme": "default", - "breadcrumb": "default", - "id": "e7ancpq" + "id": "eppmkgr" }, { "title": "Assign Reviewers", + "theme": "default", + "tooltip": "", + "customClass": "", "collapsible": true, - "key": "cssaReviewerAssignment", - "customConditional": " if (data.riskclassification === \"exempt\"){\r\n const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\n const roles = UserDetails[\"role\"];\r\n \r\n if(roles.includes(\"formsflow-reviewer/cssa-manager\")) {\r\n show = true;\r\n }\r\n else\r\n {\r\n show = false;\r\n }\r\n} else {\r\n show = false;\r\n}", + "hidden": false, + "hideLabel": false, + "disabled": false, + "modalEdit": false, + "key": "deraReviewerAssignment", + "tags": [], + "properties": {}, + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n \r\nif (data.riskclassification === \"exempt\" ||\r\nroles.includes(\"formsflow-client\")||\r\nroles.includes(\"formsflow-reviewer/cssa-team\")||\r\nroles.includes(\"formsflow-reviewer/cssa-manager\") ||\r\nroles.includes(\"formsflow-reviewer/caseworker\") ||\r\nroles.includes(\"formsflow-reviewer/sdm\")\r\n){\r\n show = false;\r\n}", + "conditional": { + "json": "", + "show": null, + "when": null, + "eq": "" + }, + "logic": [], + "attributes": {}, + "overlay": { + "style": "", + "page": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "type": "panel", "label": "", + "breadcrumb": "default", + "tabindex": "", "collapsed": false, "input": false, "tableView": false, @@ -1365,31 +1370,10 @@ "components": [ { "label": "Select SDM", - "labelPosition": "top", "widget": "choicesjs", - "placeholder": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "hidden": false, - "hideLabel": false, - "uniqueOptions": false, - "autofocus": false, - "disabled": false, "tableView": true, - "modalEdit": false, - "multiple": false, "dataSrc": "url", "data": { - "values": [ - { - "label": "", - "value": "" - } - ], - "resource": "", - "json": "", "url": "{{localStorage.getItem('formsflow.ai.api.url')}}/user?memberOfGroup=formsflow/formsflow-reviewer/sdm", "headers": [ { @@ -1405,96 +1389,107 @@ "value": "application/json" } ], + "values": [ + { + "label": "", + "value": "" + } + ], + "json": "", + "resource": "", "custom": "" }, "dataType": "string", - "idPath": "id", "valueProperty": "username", "template": "{{ item.lastName }}, {{ item.firstName }}", - "refreshOn": "", - "refreshOnBlur": "", - "clearOnRefresh": false, - "searchEnabled": true, - "selectThreshold": 0.3, - "readOnlyValue": false, - "customOptions": {}, - "useExactSearch": false, - "persistent": true, + "key": "selectDeraSdm", + "type": "select", + "selectValues": "data", + "disableLimit": false, + "input": true, + "keyModified": true, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, - "dbIndex": false, - "encrypted": false, + "unique": false, + "persistent": true, + "hidden": false, "clearOnHide": true, + "refreshOn": "", + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, - "allowCalculateOverride": false, + "attributes": {}, "validateOn": "change", "validate": { "required": false, - "onlyAvailableItems": false, - "customMessage": "", "custom": "", "customPrivate": false, - "json": "", "strictDateValidation": false, "multiple": false, - "unique": false + "unique": false, + "onlyAvailableItems": false }, - "unique": false, - "errorLabel": "", - "errors": "", - "key": "selectDeraSdm", - "tags": [], - "properties": {}, "conditional": { "show": null, "when": null, - "eq": "", - "json": "" + "eq": "" }, - "customConditional": "", - "logic": [], - "attributes": {}, "overlay": { "style": "", - "page": "", "left": "", "top": "", "width": "", "height": "" }, - "type": "select", - "indexeddb": { - "filter": {} - }, + "allowCalculateOverride": false, + "encrypted": false, + "showCharCount": false, + "showWordCount": false, + "properties": {}, + "allowMultipleMasks": false, + "addons": [], + "idPath": "id", + "clearOnRefresh": false, + "limit": 100, "lazyLoad": true, - "selectValues": "data", - "selectFields": "", - "disableLimit": false, - "searchField": "", + "filter": "", + "searchEnabled": true, "searchDebounce": 0.3, + "searchField": "", "minSearch": 0, - "filter": "", - "limit": 100, + "readOnlyValue": false, "authenticate": false, "ignoreCache": false, - "redrawOn": "", - "input": true, - "keyModified": true, - "prefix": "", - "suffix": "", - "dataGridLabel": false, - "showCharCount": false, - "showWordCount": false, - "allowMultipleMasks": false, - "addons": [], + "selectFields": "", + "selectThreshold": 0.3, + "uniqueOptions": false, "fuseOptions": { "include": "score", "threshold": 0.3 }, - "id": "efplfsc", - "defaultValue": "", - "sort": "" + "indexeddb": { + "filter": {} + }, + "customOptions": {}, + "useExactSearch": false, + "id": "ee2k2k" } ], "width": 4, @@ -1508,31 +1503,10 @@ "components": [ { "label": "Select Caseworker", - "labelPosition": "top", "widget": "choicesjs", - "placeholder": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "hidden": false, - "hideLabel": false, - "uniqueOptions": false, - "autofocus": false, - "disabled": false, "tableView": true, - "modalEdit": false, - "multiple": false, "dataSrc": "url", "data": { - "values": [ - { - "label": "", - "value": "" - } - ], - "resource": "", - "json": "", "url": "{{localStorage.getItem('formsflow.ai.api.url')}}/user?memberOfGroup=formsflow/formsflow-reviewer/caseworker", "headers": [ { @@ -1548,96 +1522,108 @@ "value": "application/json" } ], + "values": [ + { + "label": "", + "value": "" + } + ], + "json": "", + "resource": "", "custom": "" }, "dataType": "string", - "idPath": "id", "valueProperty": "username", "template": "{{ item.lastName }}, {{ item.firstName }}", - "refreshOn": "", - "refreshOnBlur": "", - "clearOnRefresh": false, - "searchEnabled": true, - "selectThreshold": 0.3, - "readOnlyValue": false, - "customOptions": {}, - "useExactSearch": false, - "persistent": true, + "key": "selectDeraCaseworker", + "customConditional": "if (data.typeOfReview==='applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc')\n{\n show = false;\n}\nelse {\n show = true;\n}", + "type": "select", + "selectValues": "data", + "disableLimit": false, + "input": true, + "keyModified": true, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, - "dbIndex": false, - "encrypted": false, + "unique": false, + "persistent": true, + "hidden": false, "clearOnHide": true, + "refreshOn": "", + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, - "allowCalculateOverride": false, + "attributes": {}, "validateOn": "change", "validate": { "required": false, - "onlyAvailableItems": false, - "customMessage": "", "custom": "", "customPrivate": false, - "json": "", "strictDateValidation": false, "multiple": false, - "unique": false + "unique": false, + "onlyAvailableItems": false }, - "unique": false, - "errorLabel": "", - "errors": "", - "key": "selectDeraCaseworker", - "tags": [], - "properties": {}, "conditional": { "show": null, "when": null, - "eq": "", - "json": "" + "eq": "" }, - "customConditional": "if (data.typeOfReview==='applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc')\n{\n show = false;\n}\nelse {\n show = true;\n}", - "logic": [], - "attributes": {}, "overlay": { "style": "", - "page": "", "left": "", "top": "", "width": "", "height": "" }, - "type": "select", - "indexeddb": { - "filter": {} - }, + "allowCalculateOverride": false, + "encrypted": false, + "showCharCount": false, + "showWordCount": false, + "properties": {}, + "allowMultipleMasks": false, + "addons": [], + "idPath": "id", + "clearOnRefresh": false, + "limit": 100, "lazyLoad": true, - "selectValues": "data", - "selectFields": "", - "disableLimit": false, - "searchField": "", + "filter": "", + "searchEnabled": true, "searchDebounce": 0.3, + "searchField": "", "minSearch": 0, - "filter": "", - "limit": 100, + "readOnlyValue": false, "authenticate": false, "ignoreCache": false, - "redrawOn": "", - "input": true, - "keyModified": true, - "prefix": "", - "suffix": "", - "dataGridLabel": false, - "showCharCount": false, - "showWordCount": false, - "allowMultipleMasks": false, - "addons": [], + "selectFields": "", + "selectThreshold": 0.3, + "uniqueOptions": false, "fuseOptions": { "include": "score", "threshold": 0.3 }, - "id": "ead6qr", - "defaultValue": "", - "sort": "" + "indexeddb": { + "filter": {} + }, + "customOptions": {}, + "useExactSearch": false, + "id": "e51zw6d" } ], "width": 4, @@ -1721,39 +1707,31 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "ek5j0sc" + "id": "ecvc539" } ], "keyModified": true, "placeholder": "", "prefix": "", - "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, - "hidden": false, "clearOnHide": false, "refreshOn": "", "redrawOn": "", - "modalEdit": false, "dataGridLabel": false, "labelPosition": "top", "description": "", "errorLabel": "", - "tooltip": "", - "hideLabel": false, - "tabindex": "", - "disabled": false, "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, "widget": null, - "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -1763,30 +1741,15 @@ "multiple": false, "unique": false }, - "conditional": { - "show": null, - "when": null, - "eq": "" - }, - "overlay": { - "style": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, - "properties": {}, "allowMultipleMasks": false, "addons": [], "tree": false, "lazyLoad": false, - "theme": "default", - "breadcrumb": "default", - "id": "e48c647" + "id": "ehgpjvr" }, { "label": "Notes", @@ -5582,7 +5545,7 @@ "attributes": {}, "components": [ { - "id": "eh8z2bfa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eh8z2bfa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "panel", "tags": [], "tree": false, @@ -36178,7 +36141,7 @@ } ], "collapsible": false, - "id": "eof7940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eof7940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", 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 7cc70009..44fb5289 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 @@ -2763,50 +2763,10 @@ "breadcrumb": "default", "tabindex": "", "input": false, - "placeholder": "", - "prefix": "", - "suffix": "", - "multiple": false, - "defaultValue": null, - "protected": false, - "unique": false, - "persistent": false, - "clearOnHide": false, - "refreshOn": "", - "redrawOn": "", "tableView": false, - "dataGridLabel": false, - "labelPosition": "top", - "description": "", - "errorLabel": "", - "autofocus": false, - "dbIndex": false, - "customDefaultValue": "", - "calculateValue": "", - "calculateServer": false, - "widget": null, - "validateOn": "change", - "validate": { - "required": false, - "custom": "", - "customPrivate": false, - "strictDateValidation": false, - "multiple": false, - "unique": false - }, - "allowCalculateOverride": false, - "encrypted": false, - "showCharCount": false, - "showWordCount": false, - "allowMultipleMasks": false, - "addons": [], - "tree": false, - "lazyLoad": false, "components": [ { "label": "HTML", - "tag": "p", - "className": "", "attrs": [ { "attr": "", @@ -2815,43 +2775,24 @@ ], "content": "

\nCollection Notice for Environmental Protection Platform:
\nYour personal information is collected under 26(c) of the Freedom of Information and Protection of Privacy Act for the purpose of accessing services of the Environmental Protection Division. If you have any questions about the collection of your information, please contact Site Remediation Services at site@gov.bc.ca

\nCollection Notice for Site Remediation Forms:
\nYour personal information is collected under 26(c) of the Freedom of Information and Protection of Privacy Act for the purpose of receiving site remediation services. If you have any questions about the collection of your information, please contact Site Remediation Services at site@gov.bc.ca\n

", "refreshOnChange": false, - "customClass": "", - "hidden": false, - "modalEdit": false, "key": "html", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, - "customConditional": "", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "htmlelement", "input": false, "tableView": false, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": false, "labelPosition": "top", "description": "", @@ -2866,6 +2807,7 @@ "calculateValue": "", "calculateServer": false, "widget": null, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -2875,16 +2817,68 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "ef9l67" + "tag": "p", + "id": "e39btfg" } ], - "id": "e37ho8k" + "placeholder": "", + "prefix": "", + "suffix": "", + "multiple": false, + "defaultValue": null, + "protected": false, + "unique": false, + "persistent": false, + "clearOnHide": false, + "refreshOn": "", + "redrawOn": "", + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "autofocus": false, + "dbIndex": false, + "customDefaultValue": "", + "calculateValue": "", + "calculateServer": false, + "widget": null, + "validateOn": "change", + "validate": { + "required": false, + "custom": "", + "customPrivate": false, + "strictDateValidation": false, + "multiple": false, + "unique": false + }, + "allowCalculateOverride": false, + "encrypted": false, + "showCharCount": false, + "showWordCount": false, + "allowMultipleMasks": false, + "addons": [], + "tree": false, + "lazyLoad": false, + "id": "eieh49c" }, { "id": "ecrddmq", @@ -5154,7 +5148,7 @@ "attributes": {}, "components": [ { - "id": "ele95t000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ele95t000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "spropertyOwnerAndOrOperator", "tree": false, "type": "panel", @@ -14566,7 +14560,7 @@ "attributes": {}, "components": [ { - "id": "eks0gu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eks0gu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "key": "exposurePathwayQuestionnaireAffectedParcel", "tree": false, "type": "panel", @@ -18509,7 +18503,7 @@ } ], "collapsible": false, - "id": "eo5mwyp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eo5mwyp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", diff --git a/forms-flow-ai/epd-forms/bundling/Summary of Site Condition.json b/forms-flow-ai/epd-forms/bundling/Summary of Site Condition.json index 9007961c..0264963e 100644 --- a/forms-flow-ai/epd-forms/bundling/Summary of Site Condition.json +++ b/forms-flow-ai/epd-forms/bundling/Summary of Site Condition.json @@ -23,7 +23,7 @@ "key": "formActions", "tags": [], "properties": {}, - "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\nconst roles = UserDetails?UserDetails[\"role\"]:[];\r\nconsole.log('data-----', data);\r\nif(!UserDetails){\r\n show = false;\r\n}\r\nelse if(roles.includes(\"formsflow-client\") || \r\nroles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\")|| \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") ||\r\nroles.includes(\"formsflow-reviewer/formsflow-client-reviewer\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n if (data.riskclassification === \"exempt\" && !(data.SoSC || data.certificationdocumentradioGroup.determinationOfContaminatedSite \r\n|| data.certificationdocumentradioGroup.approvalInPrinciple || data.certificationdocumentradioGroup.certificateOfCompliance)) {\r\n show = false;\r\n } else {\r\n show = true;\r\n }\r\n}", + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"));\r\nconst roles = UserDetails?UserDetails[\"role\"]:[];\r\nconst isSoscAvailable = (data.submissionTypeTwo ? data.submissionTypeTwo.reportsSubmitted : false) || (data.applicationsrequested ? data.applicationsrequested.siteReclassification ||data.applicationsrequested.approvalOfBackgroundConcentrations : false) || (data.certificationdocumentradioGroup ? data.certificationdocumentradioGroup.determinationOfContaminatedSite || data.certificationdocumentradioGroup.approvalInPrinciple || data.certificationdocumentradioGroup.certificateOfCompliance : false) || (data.deraStatus !== null || data.deraStatus !== undefined) ? true : false;\r\nif(!UserDetails){\r\n show = false;\r\n}\r\nelse if(roles.includes(\"formsflow-client\") || \r\nroles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\")|| \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") ||\r\nroles.includes(\"formsflow-reviewer/formsflow-client-reviewer\")) {\r\n show = false;\r\n}\r\nelse\r\n{\r\n if (data.riskclassification === \"exempt\" && !(isSoscAvailable)) {\r\n show = false;\r\n } else {\r\n show = true;\r\n }\r\n}", "conditional": { "json": "", "show": null, @@ -56,60 +56,35 @@ "label": "Previous Reviewer", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "sendToPreviousReviewer", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer\") && \r\n!roles.includes(\"formsflow-reviewer/caseworker\") &&\r\n!(roles.includes(\"formsflow-reviewer/sdm\") && data.typeOfReview === \"applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc\")) {\r\n show = true;\r\n}\r\nelse\r\n{\r\n if (roles.includes(\"formsflow-reviewer/caseworker\") &&\r\n roles.includes(\"formsflow-reviewer/sdm\") &&\r\n data.soscBundleStatus === \"soscCaseworkerAccepted\")\r\n show = true;\r\n else\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "const submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\nconst filteredData = _.pick(data, data.soscUtilKeys);\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Recheck'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Recheck'\r\n }); \r\n});", "input": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -117,6 +92,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -126,13 +102,32 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "et6hmui" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "etk0doi" } ], "width": 3, @@ -148,61 +143,36 @@ "label": "Next Reviewer", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "sendToNextReviewer", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer/caseworker\")) {\r\n\tif((data.typeOfReview === \"applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc\" && data.bundleStatus === 'cssaMgrAccepted')||\r\n\tdata.soscBundleStatus === 'soscCaseworkerAccepted')\r\n \t \tshow = false;\r\n\telse\r\n\t\tshow = true;\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "const submissionId = form._submission._id;\r\nconst formId = form._submission.form;\r\nconst formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\r\nconst filteredData = _.pick(data, data.soscUtilKeys);\r\n\r\nconst formDataReqObj1 = { \"_id\": submissionId, \"data\": filteredData};\r\nconst formio = new Formio(formDataReqUrl);\r\nformio.saveSubmission(formDataReqObj1).then( result => {\r\nform.emit('customEvent', {\r\n type: \"actionComplete\", \r\n component: component,\r\n actionType: 'Accepted'\r\n }); \r\n}).catch((error)=>{\r\n//Error callback on not Save\r\nform.emit('customEvent', {\r\n type: \"actionError\", \r\n component: component,\r\n actionType:'Accepted'\r\n }); \r\n});", "input": true, "keyModified": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -210,6 +180,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -219,13 +190,32 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "ejbnyn7" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "efn2hwmj" }, { "label": "Approved", @@ -307,7 +297,7 @@ "showWordCount": false, "allowMultipleMasks": false, "addons": [], - "id": "eajutmg" + "id": "eqdfrab" } ], "width": 3, @@ -394,7 +384,7 @@ "rightIcon": "", "block": false, "disableOnInvalid": false, - "id": "euwstpw" + "id": "eewetd5" } ], "size": "md", @@ -481,7 +471,7 @@ "rightIcon": "", "block": false, "disableOnInvalid": false, - "id": "enfhldh" + "id": "esoctjq" } ], "size": "md", @@ -556,7 +546,7 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "ewhwp1e" + "id": "e3p3nf" } ], "keyModified": true, @@ -598,7 +588,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "eoq8qxp" + "id": "e07qwtb" }, { "title": "Reviewer Actions", @@ -613,7 +603,7 @@ "key": "soscBundleActions", "tags": [], "properties": {}, - "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\n\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") ||\r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\")) {\r\n if (data.riskclassification === \"exempt\"){\r\n show = true;\r\n } else {\r\n show = false;\r\n }\r\n} else if (roles.includes(\"formsflow-reviewer/caseworker\")|| \r\nroles.includes(\"formsflow-reviewer/sdm\")) {\r\n if (data.riskclassification === \"exempt\" && !(data.SoSC || data.certificationdocumentradioGroup.determinationOfContaminatedSite \r\n|| data.certificationdocumentradioGroup.approvalInPrinciple || data.certificationdocumentradioGroup.certificateOfCompliance)){\r\n show = true;\r\n } else {\r\n show = false;\r\n }\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nconst isSoscAvailable = (data.submissionTypeTwo ? data.submissionTypeTwo.reportsSubmitted : false) || (data.applicationsrequested ? data.applicationsrequested.siteReclassification ||data.applicationsrequested.approvalOfBackgroundConcentrations : false) || (data.certificationdocumentradioGroup ? data.certificationdocumentradioGroup.determinationOfContaminatedSite || data.certificationdocumentradioGroup.approvalInPrinciple || data.certificationdocumentradioGroup.certificateOfCompliance : false) || (data.deraStatus !== null || data.deraStatus !== undefined) ? true : false;\r\n\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") ||\r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\")) {\r\n if (data.riskclassification === \"exempt\"){\r\n show = true;\r\n } else {\r\n show = false;\r\n }\r\n} else if (roles.includes(\"formsflow-reviewer/caseworker\")|| \r\nroles.includes(\"formsflow-reviewer/sdm\")) {\r\n if (data.riskclassification === \"exempt\" && !(isSoscAvailable)){\r\n if (data.deraStatus)\r\n show = false;\r\n else\r\n show = true;\r\n } else {\r\n show = false;\r\n }\r\n}\r\nelse\r\n{\r\n show = false;\r\n}", "conditional": { "json": "", "show": null, @@ -717,7 +707,7 @@ "block": false, "disableOnInvalid": false, "theme": "primary", - "id": "eppsbjd" + "id": "eweuy80g" } ], "width": 3, @@ -733,61 +723,36 @@ "label": "Next Reviewer", "action": "custom", "showValidations": false, - "theme": "primary", - "size": "md", - "block": false, - "leftIcon": "", - "rightIcon": "", - "shortcut": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "disableOnInvalid": false, - "hidden": false, - "autofocus": false, - "disabled": false, "tableView": false, - "modalEdit": false, "key": "sendBundleToNextReviewer", - "tags": [], - "properties": {}, - "conditional": { - "show": null, - "when": null, - "eq": "", - "json": "" - }, "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") || \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") || \r\nroles.includes(\"formsflow-reviewer/caseworker\") || \r\nroles.includes(\"formsflow-reviewer/sdm\")) \r\n{\r\n if(data.bundleStatus === 'cssaCaseworkerAccepted' ||\r\n (data.bundleStatus === 'cssaMgrAccepted' && \r\n data.typeOfReview === 'applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc'))\r\n show = false;\r\n else\r\n show = true;\r\n}\r\nelse\r\n{\r\n if(data.bundleStatus === 'cssaMgrAccepted')\r\n show = true;\r\n else\r\n show = false;\r\n}", - "logic": [], - "attributes": {}, - "overlay": { - "style": "", - "page": "", - "left": "", - "top": "", - "width": "", - "height": "" - }, "type": "button", "custom": "form.emit('customEvent', {\n type: \"actionComplete\", \n component: component,\n actionType:'Accepted'\n });", "input": true, "keyModified": true, "placeholder": "", "prefix": "", + "customClass": "", "suffix": "", "multiple": false, "defaultValue": null, "protected": false, "unique": false, "persistent": false, + "hidden": false, "clearOnHide": true, "refreshOn": "", "redrawOn": "", + "modalEdit": false, "dataGridLabel": true, "labelPosition": "top", + "description": "", "errorLabel": "", + "tooltip": "", "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, "dbIndex": false, "customDefaultValue": "", "calculateValue": "", @@ -795,6 +760,7 @@ "widget": { "type": "input" }, + "attributes": {}, "validateOn": "change", "validate": { "required": false, @@ -804,13 +770,32 @@ "multiple": false, "unique": false }, + "conditional": { + "show": null, + "when": null, + "eq": "" + }, + "overlay": { + "style": "", + "left": "", + "top": "", + "width": "", + "height": "" + }, "allowCalculateOverride": false, "encrypted": false, "showCharCount": false, "showWordCount": false, + "properties": {}, "allowMultipleMasks": false, "addons": [], - "id": "ez5eeme" + "size": "md", + "leftIcon": "", + "rightIcon": "", + "block": false, + "disableOnInvalid": false, + "theme": "primary", + "id": "e90fzmc" }, { "label": "Approved", @@ -887,7 +872,7 @@ "block": false, "disableOnInvalid": false, "theme": "primary", - "id": "ewrzali" + "id": "e2imk9" } ], "width": 3, @@ -974,7 +959,7 @@ "rightIcon": "", "block": false, "disableOnInvalid": false, - "id": "eidbuob" + "id": "e5wyb2q" } ], "size": "md", @@ -1061,7 +1046,7 @@ "rightIcon": "", "block": false, "disableOnInvalid": false, - "id": "eyj3ukl" + "id": "er5g2kk" } ], "size": "md", @@ -1136,7 +1121,7 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "esyinhy" + "id": "e9hv797" } ], "keyModified": true, @@ -1178,7 +1163,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "excfqro" + "id": "e3ee7vn" }, { "title": "Assign Reviewers", @@ -1193,7 +1178,7 @@ "key": "sdmAssignment", "tags": [], "properties": {}, - "customConditional": " if (data.riskclassification === \"exempt\" && (data.SoSC || \r\n data.certificationdocumentradioGroup.determinationOfContaminatedSite ||\r\n data.certificationdocumentradioGroup.approvalInPrinciple ||\r\n data.certificationdocumentradioGroup.certificateOfCompliance \r\n //|| data.applicationsrequested.553\r\n )){\r\n const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\n const roles = UserDetails[\"role\"];\r\n \r\n if(roles.includes(\"formsflow-reviewer/cssa-manager\")) {\r\n show = true;\r\n }\r\n else\r\n {\r\n show = false;\r\n }\r\n} else {\r\n show = false;\r\n}", + "customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nconst isSoscAvailable = (data.submissionTypeTwo ? data.submissionTypeTwo.reportsSubmitted : false) || (data.applicationsrequested ? data.applicationsrequested.siteReclassification ||data.applicationsrequested.approvalOfBackgroundConcentrations : false) || (data.certificationdocumentradioGroup ? data.certificationdocumentradioGroup.determinationOfContaminatedSite || data.certificationdocumentradioGroup.approvalInPrinciple || data.certificationdocumentradioGroup.certificateOfCompliance : false) || (data.deraStatus !== null || data.deraStatus !== undefined) ? true : false;\r\n\r\n if(roles.includes(\"formsflow-client\") ||\r\n roles.includes(\"formsflow-reviewer/cssa-team\")||\r\n roles.includes(\"formsflow-reviewer/caseworker\")||\r\n roles.includes(\"formsflow-reviewer/sdm\")) {\r\n show = false;\r\n }\r\n else if (data.riskclassification === \"exempt\" && isSoscAvailable){\r\n if(roles.includes(\"formsflow-reviewer/cssa-manager\")) {\r\n show = true;\r\n }\r\n else\r\n {\r\n show = false;\r\n }\r\n} else {\r\n show = false;\r\n}", "conditional": { "json": "", "show": null, @@ -1225,31 +1210,10 @@ "components": [ { "label": "Select SDM", - "labelPosition": "top", "widget": "choicesjs", - "placeholder": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "hidden": false, - "hideLabel": false, - "uniqueOptions": false, - "autofocus": false, - "disabled": false, "tableView": true, - "modalEdit": false, - "multiple": false, "dataSrc": "url", "data": { - "values": [ - { - "label": "", - "value": "" - } - ], - "resource": "", - "json": "", "url": "{{localStorage.getItem('formsflow.ai.api.url')}}/user?memberOfGroup=formsflow/formsflow-reviewer/sdm", "headers": [ { @@ -1265,96 +1229,107 @@ "value": "application/json" } ], + "values": [ + { + "label": "", + "value": "" + } + ], + "json": "", + "resource": "", "custom": "" }, "dataType": "string", - "idPath": "id", "valueProperty": "username", "template": "{{ item.lastName }}, {{ item.firstName }}", - "refreshOn": "", - "refreshOnBlur": "", - "clearOnRefresh": false, - "searchEnabled": true, - "selectThreshold": 0.3, - "readOnlyValue": false, - "customOptions": {}, - "useExactSearch": false, - "persistent": true, + "key": "selectSoscSdm", + "type": "select", + "selectValues": "data", + "disableLimit": false, + "input": true, + "keyModified": true, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, - "dbIndex": false, - "encrypted": false, + "unique": false, + "persistent": true, + "hidden": false, "clearOnHide": true, + "refreshOn": "", + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, - "allowCalculateOverride": false, + "attributes": {}, "validateOn": "change", "validate": { "required": false, - "onlyAvailableItems": false, - "customMessage": "", "custom": "", "customPrivate": false, - "json": "", "strictDateValidation": false, "multiple": false, - "unique": false + "unique": false, + "onlyAvailableItems": false }, - "unique": false, - "errorLabel": "", - "errors": "", - "key": "selectSoscSdm", - "tags": [], - "properties": {}, "conditional": { "show": null, "when": null, - "eq": "", - "json": "" + "eq": "" }, - "customConditional": "", - "logic": [], - "attributes": {}, "overlay": { "style": "", - "page": "", "left": "", "top": "", "width": "", "height": "" }, - "type": "select", - "indexeddb": { - "filter": {} - }, + "allowCalculateOverride": false, + "encrypted": false, + "showCharCount": false, + "showWordCount": false, + "properties": {}, + "allowMultipleMasks": false, + "addons": [], + "idPath": "id", + "clearOnRefresh": false, + "limit": 100, "lazyLoad": true, - "selectValues": "data", - "selectFields": "", - "disableLimit": false, - "searchField": "", + "filter": "", + "searchEnabled": true, "searchDebounce": 0.3, + "searchField": "", "minSearch": 0, - "filter": "", - "limit": 100, + "readOnlyValue": false, "authenticate": false, "ignoreCache": false, - "redrawOn": "", - "input": true, - "keyModified": true, - "prefix": "", - "suffix": "", - "dataGridLabel": false, - "showCharCount": false, - "showWordCount": false, - "allowMultipleMasks": false, - "addons": [], + "selectFields": "", + "selectThreshold": 0.3, + "uniqueOptions": false, "fuseOptions": { "include": "score", "threshold": 0.3 }, - "id": "eu2uncg", - "defaultValue": "", - "sort": "" + "indexeddb": { + "filter": {} + }, + "customOptions": {}, + "useExactSearch": false, + "id": "el2pbj" } ], "width": 4, @@ -1368,31 +1343,10 @@ "components": [ { "label": "Select Caseworker", - "labelPosition": "top", "widget": "choicesjs", - "placeholder": "", - "description": "", - "tooltip": "", - "customClass": "", - "tabindex": "", - "hidden": false, - "hideLabel": false, - "uniqueOptions": false, - "autofocus": false, - "disabled": false, "tableView": true, - "modalEdit": false, - "multiple": false, "dataSrc": "url", "data": { - "values": [ - { - "label": "", - "value": "" - } - ], - "resource": "", - "json": "", "url": "{{localStorage.getItem('formsflow.ai.api.url')}}/user?memberOfGroup=formsflow/formsflow-reviewer/caseworker", "headers": [ { @@ -1408,96 +1362,107 @@ "value": "application/json" } ], + "values": [ + { + "label": "", + "value": "" + } + ], + "json": "", + "resource": "", "custom": "" }, "dataType": "string", - "idPath": "id", "valueProperty": "username", "template": "{{ item.lastName }}, {{ item.firstName }}", - "refreshOn": "", - "refreshOnBlur": "", - "clearOnRefresh": false, - "searchEnabled": true, - "selectThreshold": 0.3, - "readOnlyValue": false, - "customOptions": {}, - "useExactSearch": false, - "persistent": true, + "key": "selectSoscCaseworker", + "type": "select", + "selectValues": "data", + "disableLimit": false, + "input": true, + "keyModified": true, + "placeholder": "", + "prefix": "", + "customClass": "", + "suffix": "", + "multiple": false, + "defaultValue": null, "protected": false, - "dbIndex": false, - "encrypted": false, + "unique": false, + "persistent": true, + "hidden": false, "clearOnHide": true, + "refreshOn": "", + "redrawOn": "", + "modalEdit": false, + "dataGridLabel": false, + "labelPosition": "top", + "description": "", + "errorLabel": "", + "tooltip": "", + "hideLabel": false, + "tabindex": "", + "disabled": false, + "autofocus": false, + "dbIndex": false, "customDefaultValue": "", "calculateValue": "", "calculateServer": false, - "allowCalculateOverride": false, + "attributes": {}, "validateOn": "change", "validate": { "required": false, - "onlyAvailableItems": false, - "customMessage": "", "custom": "", "customPrivate": false, - "json": "", "strictDateValidation": false, "multiple": false, - "unique": false + "unique": false, + "onlyAvailableItems": false }, - "unique": false, - "errorLabel": "", - "errors": "", - "key": "selectSoscCaseworker", - "tags": [], - "properties": {}, "conditional": { "show": null, "when": null, - "eq": "", - "json": "" + "eq": "" }, - "customConditional": "", - "logic": [], - "attributes": {}, "overlay": { "style": "", - "page": "", "left": "", "top": "", "width": "", "height": "" }, - "type": "select", - "indexeddb": { - "filter": {} - }, + "allowCalculateOverride": false, + "encrypted": false, + "showCharCount": false, + "showWordCount": false, + "properties": {}, + "allowMultipleMasks": false, + "addons": [], + "idPath": "id", + "clearOnRefresh": false, + "limit": 100, "lazyLoad": true, - "selectValues": "data", - "selectFields": "", - "disableLimit": false, - "searchField": "", + "filter": "", + "searchEnabled": true, "searchDebounce": 0.3, + "searchField": "", "minSearch": 0, - "filter": "", - "limit": 100, + "readOnlyValue": false, "authenticate": false, "ignoreCache": false, - "redrawOn": "", - "input": true, - "keyModified": true, - "prefix": "", - "suffix": "", - "dataGridLabel": false, - "showCharCount": false, - "showWordCount": false, - "allowMultipleMasks": false, - "addons": [], + "selectFields": "", + "selectThreshold": 0.3, + "uniqueOptions": false, "fuseOptions": { "include": "score", "threshold": 0.3 }, - "id": "ekgmst", - "defaultValue": "", - "sort": "" + "indexeddb": { + "filter": {} + }, + "customOptions": {}, + "useExactSearch": false, + "id": "e8wamyn" } ], "width": 4, @@ -1581,7 +1546,7 @@ "tree": false, "lazyLoad": false, "autoAdjust": false, - "id": "eslru1i" + "id": "e9igs18" } ], "keyModified": true, @@ -1623,7 +1588,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "enrnknh" + "id": "enevvh" }, { "label": "Notes", @@ -9358,7 +9323,7 @@ "id": "ej1mdrb" } ], - "id": "ej7yhy00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ej7yhy0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -10398,7 +10363,7 @@ "id": "eqnyhh" } ], - "id": "eskogm00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eskogm0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -10930,7 +10895,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "e0cqfrg00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + "id": "e0cqfrg0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" } ], "layoutFixed": false, @@ -11029,7 +10994,7 @@ "input": true, "label": "Crown Land File Numbers", "tableView": true, - "id": "elizdoh00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "elizdoh0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -12477,7 +12442,7 @@ "id": "e6o3au0o" } ], - "id": "erlwlrl000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "erlwlrl00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -13510,7 +13475,7 @@ "id": "eg4rrls" } ], - "id": "ehjtgz0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ehjtgz000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -14109,7 +14074,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "emjblk60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + "id": "emjblk6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" } ], "placeholder": "", @@ -14153,7 +14118,7 @@ "input": true, "label": "Crown Land File Numbers", "tableView": true, - "id": "eh8kmqu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eh8kmqu0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -15102,7 +15067,7 @@ "id": "edt3c4" } ], - "id": "e80y9k80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "e80y9k8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -22644,7 +22609,7 @@ "id": "es5kcwo" } ], - "id": "egwgsw00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "egwgsw0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -23441,7 +23406,7 @@ "id": "erxxdli" } ], - "id": "e09khr200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "e09khr20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -24050,7 +24015,7 @@ "id": "eu9o53q" } ], - "id": "eipn9d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eipn9d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -24580,7 +24545,7 @@ "id": "ef617zf" } ], - "id": "ebh60il0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ebh60il000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -25351,7 +25316,7 @@ "id": "eak2oy8" } ], - "id": "evgsijp0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "evgsijp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -29425,7 +29390,7 @@ "id": "e9e5bm" } ], - "id": "e6l31cy00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "e6l31cy0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -30360,7 +30325,7 @@ "id": "ex2otfp" } ], - "id": "eauzdys0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eauzdys000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -30980,7 +30945,7 @@ "id": "em3poaa" } ], - "id": "ey0h0vl000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ey0h0vl00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -31600,7 +31565,7 @@ "id": "ebu3n7" } ], - "id": "el9aclo00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "el9aclo0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -32220,7 +32185,7 @@ "id": "eincm2l" } ], - "id": "ehk7lsj0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ehk7lsj000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -32840,7 +32805,7 @@ "id": "elx2wbn" } ], - "id": "ejahpfm0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ejahpfm000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -33546,7 +33511,7 @@ "addons": [], "tree": false, "lazyLoad": false, - "id": "etzpsl0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + "id": "etzpsl000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" } ], "placeholder": "", @@ -34287,7 +34252,7 @@ "defaultValue": "" } ], - "id": "esvz3la00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "esvz3la0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -38240,7 +38205,7 @@ "id": "estazfs" } ], - "id": "ef5nwt00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ef5nwt0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -38746,7 +38711,7 @@ "id": "eq5jxk" } ], - "id": "eoq12ev0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "eoq12ev000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -39065,7 +39030,7 @@ "id": "enjn8bkh" } ], - "id": "ett43n0j000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ett43n0j00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -39384,7 +39349,7 @@ "id": "ee9w9ok" } ], - "id": "euuaaa00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "euuaaa0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -39703,7 +39668,7 @@ "id": "e6efm7o" } ], - "id": "edr4h050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "edr4h05000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -41814,7 +41779,7 @@ "type": "columns", "input": false, "tableView": false, - "id": "ev4kpmc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ev4kpmc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -42611,7 +42576,7 @@ "type": "columns", "input": false, "tableView": false, - "id": "ehbime00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "ehbime0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "placeholder": "", "prefix": "", "customClass": "", @@ -43519,7 +43484,7 @@ "refreshOn": "", "addons": [], "inputType": "text", - "id": "errpqaf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "id": "errpqaf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "defaultValue": "" } ], diff --git a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/CSSABundleWorklow.bpmn b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/CSSABundleWorklow.bpmn index 738fb606..6d9533f3 100644 --- a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/CSSABundleWorklow.bpmn +++ b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/CSSABundleWorklow.bpmn @@ -6,10 +6,11 @@ - Gateway_1lfy3cm - Activity_1qnqtak Gateway_1chdumm Activity_0vo5rls + Activity_1qnqtak + Gateway_1lfy3cm + Gateway_04645fs Activity_15e3ho6 @@ -362,7 +363,7 @@ system.out.println('srcrBundleURL'+execution.getVariable('bundleUrl')); ${action == 'Accepted'} - + Flow_0jxnrvm @@ -1028,6 +1029,7 @@ system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociet Flow_16ek6dk Flow_1258dam Flow_01zmsuo + Flow_045t5oq Flow_14qx1q0 @@ -1310,7 +1312,8 @@ system.out.println ("form signed"); task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','CSSA Manager'); @@ -1934,6 +1937,48 @@ system.out.println ("Sent to SDM"); Flow_0drs8s9 Flow_0i3fcvy + + + + execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); + +var system = java.lang.System; +execution.setVariable('srcrStatus','Approved'); +system.out.println ("srcrStatus "+execution.getVariable('srcrStatus') ); + + + ${riskclassification == 'exempt'} + + + + + execution.setVariable('soscFormUrl', execution.getVariable('formUrl')); + +var system = java.lang.System; +execution.setVariable('soscStatus','Approved'); +system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); + + + ${isSoscAvailable==false} + + + Flow_0fa3idu + Flow_0lo7pee + Flow_1l4qibu + Flow_1nowy63 + + + Flow_1m5dyj2 + Flow_0poa227 + Flow_0lo7pee + + + + Flow_1phkhb3 + Flow_177eab8 + Flow_1l4qibu + + Flow_02ysv7t @@ -1975,52 +2020,17 @@ execution.setVariable('srcoAssignment',selectSrco); system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment')); - Flow_0gcqir8 + Flow_1dtmwt0 Flow_02ysv7t Flow_0lgivc3 - - - - execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); - -var system = java.lang.System; -execution.setVariable('srcrStatus','Approved'); -system.out.println ("srcrStatus "+execution.getVariable('srcrStatus') ); - - - ${riskclassification == 'exempt'} - - - - - execution.setVariable('soscFormUrl', execution.getVariable('formUrl')); - -var system = java.lang.System; -execution.setVariable('soscStatus','Approved'); -system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); - - - ${isSoscAvailable==false} - - - Flow_0fa3idu - Flow_0lo7pee - Flow_1l4qibu - Flow_1nowy63 + + + Flow_0gcqir8 + Flow_1dtmwt0 + Flow_045t5oq - - Flow_1m5dyj2 - Flow_0poa227 - Flow_0lo7pee - - - - Flow_1phkhb3 - Flow_177eab8 - Flow_1l4qibu - - + @@ -2060,6 +2070,16 @@ system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); + + + + + + + + + + @@ -2921,13 +2941,6 @@ system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); - - - - - - - @@ -3346,28 +3359,28 @@ system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); - + - - + + - + - - + + - + - + @@ -3396,6 +3409,15 @@ system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); + + + + + + + + + - \ No newline at end of file + diff --git a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/DERABundleWorkflow.bpmn b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/DERABundleWorkflow.bpmn index 63de0e52..54993bcd 100644 --- a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/DERABundleWorkflow.bpmn +++ b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Bundling/subProcess/DERABundleWorkflow.bpmn @@ -1,33 +1,16 @@ - + - - Activity_1v5ffpw - Activity_1ozfgid - Activity_0k6ixqm - StartEvent_1 - Gateway_08cgufe - Activity_15772wo - Gateway_17raw62 - - - Activity_1uc1xs1 - Gateway_04o747e - - - Activity_08ykdar - Gateway_0oobb3z - Gateway_1jh43p2 - Activity_1os7sys - Event_1mmor63 - - - Activity_1ao3zkj - Gateway_15p5urd + + Activity_0vo5rls + Gateway_1chdumm + Activity_1qnqtak + Gateway_1lfy3cm + Gateway_0nmz6ta Gateway_1lbpcug @@ -37,159 +20,67 @@ Activity_0tsm937 Activity_15e3ho6 Gateway_1m36jwe - Gateway_0uf75ow - Activity_07ttn7q - Activity_1bhbq4y + Activity_0n1ya4a + Event_1e6nd7t + Gateway_17ke2cd Gateway_0o9l3lp Gateway_0vaxmur Event_0sdygwc Activity_0q5r5d4 - Gateway_0uti2q1 + Activity_07ttn7q + Activity_15vmujd + Gateway_0uf75ow + Gateway_0aqwiam + Gateway_1lhvo5s + Gateway_0yz3paf + Gateway_0jk8i7p + Activity_1bhbq4y - - Activity_0vo5rls - Gateway_1chdumm - Activity_1qnqtak - Gateway_1lfy3cm + + Activity_1ao3zkj + Gateway_15p5urd + Gateway_15zb6fp + + + Activity_08ykdar + Gateway_0oobb3z + Gateway_1jh43p2 + Activity_1os7sys + Event_1mmor63 + + + Activity_1uc1xs1 + Gateway_04o747e + Gateway_0p70jh9 + + + Activity_1v5ffpw + Activity_1ozfgid + Activity_0k6ixqm + StartEvent_1 + Gateway_08cgufe + Activity_15772wo + Gateway_17raw62 - - ${action == 'Accepted'} - - - - - - ${riskclassification == 'exempt'} - - - ${action == 'Recheck'} - - - - - execution.setVariable('isSdm',true); - - - ${action == 'Returned'} - - - - - execution.setVariable('isCaseworker',true); - - - ${action == 'Returned'} - - - - - execution.setVariable('isCssaTeam',true); - - - ${action == 'Returned'} - - - - - - - execution.setVariable('applicationStatus', "Resubmitted"); - - - - ["applicationId", "applicationStatus"] - - - - - - - - - - - - ["applicationId", "applicationStatus"] - - - - - - - - - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); - - - ${riskclassification != 'exempt'} - - - - - var system = java.lang.System; -execution.setVariable('isSentFromSociety',false); -system.out.println ("isSentFromSociety "+ execution.getVariable('isSentFromSociety')); - - - ${typeOfReview== 'directToMinistryApplication'} - - - - ${typeOfReview!= 'directToMinistryApplication'} - - - - ${action == 'Accepted'} - - - - - execution.setVariable('isAp',true); - - - ${action == 'Returned'} - - - - ${action == 'Recheck'} - - - - - execution.setVariable('isSociety',true); - - - ${action == 'Returned'} - - - - ${action == 'Accepted'} - - - - ${applicationStatus== 'Resubmitted' and isCssaTeam== true} - - - ${applicationStatus== 'Resubmitted' and isSociety== true} - - - ${applicationStatus== 'Resubmitted' and isAp== true} - - - ${applicationStatus!= 'Resubmitted'} - - - + + Flow_0io9st8 + Flow_0b5e332 + Flow_1jxxrt6 + Flow_07eueok + Flow_0aabyhy + + - task.execution.setVariable('isCssaTeam',false); -task.execution.setVariable('userRole','CSSA Team'); + task.execution.setVariable('isSdm',false); + task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','Statutory Decision Maker'); @@ -198,194 +89,91 @@ task.execution.setVariable('deleteReason', "completed"); - Flow_1quswsc - Flow_0gb2oz2 - Flow_0wr0mei - Flow_0lgivc3 - Flow_0bz8atu + Flow_07vh0na + Flow_08c8ij1 - + - - execution.setVariable('applicationStatus', "Resubmit"); -execution.setVariable('returnedBy', "cssaTeam"); - - - + + task.execution.setVariable('isCaseworker',false); + + + + + task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','Caseworker'); + + + ["applicationId", "applicationStatus"] - - + - Flow_0wxa7vb - Flow_19ktqsm - Flow_0qw9o9a - Flow_12uv3km - Flow_1ij7p7z - Flow_1stifo9 - - - Flow_0dbqph3 - Flow_1stifo9 - Flow_05pndkl + Flow_01suxh6 + Flow_19ik9s7 + + + Flow_0qiqnks + Flow_057qs1x + Flow_01suxh6 + + + Flow_0i3fcvy + Flow_0d8ioqs + Flow_1jxxrt6 + Flow_0qiqnks var system = java.lang.System; -var riskclassification = execution.getVariable('riskclassification'); -system.out.println ("riskclassification "+riskclassification); -var typeOfReview = execution.getVariable('typeOfReview'); -system.out.println ("typeOfReview "+typeOfReview); -execution.setVariable('typeOfReview',typeOfReview); -var clientEmail = execution.getVariable('simpleemail'); -system.out.println ("clientEmail "+clientEmail); -execution.setVariable('clientEmail',clientEmail); -var siteRiskClassification = execution.getVariable('siteRiskClassification'); -system.out.println ("siteRiskClassification "+siteRiskClassification ); -execution.setVariable('siteRiskClassification',siteRiskClassification); -execution.setVariable('formName','Detailed Ecological Risk Assessment Checklist'); -execution.setVariable('EmailType','DERA'); -execution.setVariable('name','User'); -var emailsToArray = []; -emailsToArray.push(clientEmail) -execution.setVariable("emailTo", Java.to(emailsToArray, "java.lang.Object[]")); +system.out.println ("Begin DERA Individual Flow - Sent To Caseworker"); +execution.setVariable('isCaseworker',false); +system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety')); - - Flow_1rc30l8 - Flow_0dbqph3 + + Flow_0kw2jbo + Flow_057qs1x + Flow_0ovj0pk + Flow_07vh0na var system = java.lang.System; -system.out.println ("Submit Bundle"); -execution.setVariable('isAp',false); -execution.setVariable('isSociety',false); -execution.setVariable('isCssaTeam',false); +system.out.println ("Sent to SDM"); - - Flow_1rc30l8 - - - Flow_1xj96i6 - Flow_1quswsc - Flow_142lsgk - - - - - task.execution.setVariable('isSociety',false); -task.execution.setVariable('userRole','CSAP Society'); - - - - task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('deleteReason', "completed"); -var system = java.lang.System; -task.execution.setVariable('isSentFromSociety',true); -system.out.println ("isSentFromSociety "+ task.execution.getVariable('isSentFromSociety')); - - - - - ["applicationId", "applicationStatus"] - - - - Flow_0kfjdmp - Flow_0543g25 - Flow_1ev1kr6 - Flow_0d8ruax - - - - - task.execution.setVariable('isAp',false); -task.execution.setVariable('userRole','CSAP'); - - - - task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('deleteReason', "completed"); - - - - - ["applicationId", "applicationStatus"] - - - - Flow_142lsgk - Flow_0pzpbn7 - Flow_0527h3y - Flow_0b418rv - - - ${applicationStatus== 'Resubmitted' and isCaseworker== true} - - - ${applicationStatus== 'Resubmitted' and isSdm== true} - - - - - var system = java.lang.System; -system.out.println ("form signed"); - - - Flow_05pndkl - Flow_0ohuh4k - - - Flow_0ohuh4k - Flow_1xj96i6 - Flow_0527h3y - Flow_0543g25 - Flow_0wr0mei - Flow_0d8ioqs - Flow_0ovj0pk - - - ${action == 'Recheck' and isSentFromSociety == true} - - - ${action == 'Recheck'} - - - - - - - ${action == 'Accepted'} - - + + Flow_0fa3idu + Flow_1qdnyub + Flow_09v5hyw + Flow_1nowy63 + + - - task.execution.setVariable('isCssaTeam',false); - - - - task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('deleteReason', "completed"); - - - - - ["applicationId", "applicationStatus"] - - + + + dera_updated + - Flow_1tu4hj7 - Flow_1esdw3m - Flow_0aabyhy - Flow_0gcqir8 - - - Flow_1kyum71 - Flow_0fa3idu - - Flow_0f731f5 - Flow_1vxydh0 - Flow_00qi8nk - Flow_130v3rp + Flow_1v6zje9 + Flow_032upr4 + Flow_0y1xa83 + + + Flow_0y1xa83 + + + Flow_08c8ij1 + Flow_0io9st8 + Flow_032upr4 + + + Flow_13aqwr9 + Flow_1phkhb3 + + Flow_05vthw4 + Flow_1ojyq91 + Flow_019edzt + Flow_0cdvwnp var system = java.lang.System; -system.out.println ("Sent to SDM"); +system.out.println ("Sent to Caseworker"); - + @@ -397,51 +185,42 @@ system.out.println ("Sent to SDM"); task.execution.setVariable('task_id',task.getId()); - +task.execution.setVariableLocal('variable1',"srcr"); +task.execution.setVariable('userRole','Caseworker'); task.execution.setVariable('requestStatus', task.execution.getVariable('action')); -task.execution.setVariable('requestType', 'DERA'); -task.execution.setVariable('deraStatus', task.execution.getVariable('action')); -task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'SRCR'); task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('userRole','Statutory Decision Maker'); -task.execution.setVariable('subFormName','DERA Form'); +task.execution.setVariable('srcrStatus', task.execution.getVariable('action')); +task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('userRole','Caseworker'); +task.execution.setVariable('subFormName','SRCR Form'); - + - Flow_130v3rp - Flow_04rzv3x + Flow_0cdvwnp + Flow_1ccbyzk - - - - execution.setVariable('applicationStatus', "Resubmit"); - - - - - ["applicationId", "applicationStatus"] - - - - - Flow_0ui56bn - Flow_1vxydh0 - - - Flow_1wvb9m4 - Flow_0ui56bn - Flow_0pqk381 - Flow_07enxwq + + Flow_09v3kpi + Flow_0zzhoui + Flow_1ixkifd + Flow_0pqd76u + Flow_187pabg - - Flow_07enxwq - Flow_0yy721o - - + + Flow_1ixkifd + Flow_0izugkb + Flow_0xqj2sm + Flow_1pdey0j + Flow_0qaeplv + var system = java.lang.System; +system.out.println ("Sent to SDM"); + + @@ -453,32 +232,36 @@ task.execution.setVariable('subFormName','DERA Form'); task.execution.setVariable('task_id',task.getId()); -task.execution.setVariableLocal('variable1',"dera"); task.execution.setVariable('requestStatus', task.execution.getVariable('action')); -task.execution.setVariable('requestType', 'DERA'); -task.execution.setVariable('deraStatus', task.execution.getVariable('action')); -task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'SRCR'); task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('userRole','Caseworker'); -task.execution.setVariable('subFormName','DERA Form'); +task.execution.setVariable('srcrStatus', task.execution.getVariable('action')); +task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('userRole','Statutory Decision Maker'); +task.execution.setVariable('subFormName','SRCR Form'); - + - Flow_0go33vq - Flow_13zl1nd + Flow_0qaeplv + Flow_0mtd57d - - Flow_1qn2dpn - Flow_0f731f5 - Flow_0yy721o - Flow_1c0kfis + + Flow_0qvoubs + Flow_0k5l8nk + Flow_0ryglee + Flow_1kizv19 - + + Flow_0zzhoui + Flow_0k5l8nk + Flow_14snpj2 + + execution.setVariable('applicationStatus', "Resubmit"); @@ -486,439 +269,501 @@ task.execution.setVariable('subFormName','DERA Form'); - ["applicationId", "applicationStatus"] + ["applicationId", "applicationStatus", "srcrStatus"] - Flow_1c0kfis - Flow_06v4kdf + Flow_187pabg + Flow_1ojyq91 - - Flow_0pqk381 - Flow_06v4kdf - Flow_18exjmw - Flow_0orrcue + + + + execution.setVariable('applicationStatus', "Resubmit"); + + + + + ["applicationId", "applicationStatus", "srcrStatus"] + + + + + Flow_0ryglee + Flow_0izugkb + + + Flow_0q159o1 + Flow_019edzt + Flow_0xqj2sm + + + Flow_0pqd76u + Flow_00vao62 + Flow_1axts3r + Flow_1g44pgu + Flow_1up3td8 + Flow_0c71o5w var system = java.lang.System; -system.out.println ("Begin DERA Flow - Sent To Caseworker"); -execution.setVariable('isCaseworker',false); +system.out.println ("Begin SRCR Flow - Sent To SRCO"); system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety')); - - Flow_18exjmw + + Flow_1axts3r - - Flow_0orrcue - Flow_00qi8nk - Flow_0go33vq + + + + + Y + + + ["pid","applicationId","process_pid","task_id"] + + + + task.execution.setVariable('task_id',task.getId()); +task.execution.setVariableLocal('variable1',"srcr"); + + + + task.execution.setVariable('requestStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'SRCR'); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('srcrStatus', task.execution.getVariable('action')); +task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('userRole','Site Risk Classification Officer'); +task.execution.setVariable('subFormName','SRCR Form'); + + + + + + Flow_0c71o5w + Flow_0h34vew + + + Flow_1mxzqgt + Flow_14snpj2 + Flow_0qz0c7u + Flow_1ifs52w - - ${action == 'Accepted'} + + + + execution.setVariable('applicationStatus', "Resubmit"); + + + + + ["applicationId", "applicationStatus", "srcrStatus"] + + + + + Flow_1ifs52w + Flow_00vao62 + + + Flow_0qz0c7u + Flow_1pdey0j + Flow_0q159o1 + + + + + + + ${isSentFromSociety == false} - + + + execution.setVariable('applicationStatus', "Resubmitted"); execution.setVariable('requestStatus', "Resubmitted"); -execution.setVariable('deraStatus', "Resubmitted"); -execution.setVariable('isDeraResubmitted', false); +execution.setVariable('srcrStatus', "Resubmitted"); +execution.setVariable('isSrcrResubmitted', false); - - ["applicationId", "applicationStatus", "deraStatus","isDeraResubmitted"] + ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"] - - ${isSentFromSociety == true} + + ${isSentFromSociety == false} - - + + - ["applicationId", "applicationStatus", "deraStatus"] + ["applicationId", "applicationStatus", "srcrStatus"] - execution.setVariable('deraFormUrl', execution.getVariable('formUrl')); - - - - - - - - - - execution.setVariable('isDeraResubmitted', true); - - - - ["applicationId", "applicationStatus", "isDeraResubmitted"] - + execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); - - ${action == 'Returned'} - - - - ${action == 'Recheck' and isSentFromSociety == false} - + - - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); - ${action == 'Rejected' or action == 'Approved' } + ${action == 'Rejected'} - + - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + execution.setVariable('srcrBundleStatus', "srcrCaseworkerAccepted"); - - ${action == 'Rejected'} - - - ${isSentFromSociety == false} - - - - ["applicationId", "applicationStatus", "deraStatus"] + ["applicationId", "applicationStatus", "srcrBundleStatus"] - - execution.setVariable('deraFormUrl', execution.getVariable('formUrl')); - - - + ${action == 'Accepted'} - + + + ${action == 'Recheck'} + + - execution.setVariable('isDeraResubmitted', true); + execution.setVariable('isSrcrResubmitted', true); - ["applicationId", "applicationStatus", "isDeraResubmitted"] + ["applicationId", "applicationStatus", "isSrcrResubmitted"] - ${action == 'Returned'} + ${action == 'Returned' } - + - + execution.setVariable('applicationStatus', "Resubmitted"); execution.setVariable('requestStatus', "Resubmitted"); -execution.setVariable('deraStatus', "Resubmitted"); -execution.setVariable('isDeraResubmitted', false); +execution.setVariable('srcrStatus', "Resubmitted"); +execution.setVariable('isSrcrResubmitted', false); + - ["applicationId", "applicationStatus", "deraStatus","isDeraResubmitted"] + ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"] - + + ${isSentFromSociety == true} + + + ${siteRiskClassification != 'notHighRisk'} + + + + + + ["applicationId", "applicationStatus", "srcrStatus"] + + - execution.setVariable('requestStatus', 'New'); -execution.setVariable('requestType', 'DERA'); + execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); - - - - - + - - - dera_subforms_updated - + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + - Flow_0zq3j61 - Flow_04eqln5 - Flow_19nit40 - - - - Flow_13zl1nd - Flow_1qn2dpn - Flow_0zq3j61 - - + ${action == 'Approved' or action == 'Rejected' } + + + + + + + + execution.setVariable('isSrcrResubmitted', true); + + + + ["applicationId", "applicationStatus", "isSrcrResubmitted"] + + + + ${action == 'Returned' } + + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + + + ${action == 'Rejected' } + + + ${siteRiskClassification == 'notHighRisk'} + + + + + + + execution.setVariable('applicationStatus', "Resubmitted"); +execution.setVariable('requestStatus', "Resubmitted"); +execution.setVariable('srcrStatus', "Resubmitted"); +execution.setVariable('isSrcrResubmitted', false); + + + + ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"] + + + + + + + + + + execution.setVariable('requestStatus', 'New'); +execution.setVariable('requestType', 'SRCR'); + + + + + - - Flow_19nit40 - - - - - Flow_04rzv3x - Flow_1wvb9m4 - Flow_04eqln5 + + + + + ["applicationId", "applicationStatus", "srcrStatus"] + + + + execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); + + + + + + + + + execution.setVariable('srcrBundleStatus', "srcrSrcoAccepted"); + + + + ["applicationId", "applicationStatus", "srcrBundleStatus"] + + + + ${action == 'Accepted'} + + + + + + execution.setVariable('isSrcrResubmitted', true); + + + + ["applicationId", "applicationStatus", "isSrcrResubmitted"] + + + + ${action == 'Returned' } + + + + + + + ${siteRiskClassification != 'notHighRisk' } + + + Flow_1kizv19 + Flow_1g44pgu + Flow_1q2jho1 + + + ${action == 'Recheck' } + + + Flow_1q2jho1 + Flow_05vthw4 + Flow_1up3td8 + + + ${siteRiskClassification == 'notHighRisk' } + + + + + + + ${isSentFromSociety == true} + + + + Flow_0h34vew + Flow_1mxzqgt + Flow_0lklj13 - + + + + + dera_subforms_updated + + + Flow_0lklj13 + Flow_18o75ov + Flow_1u837pr + Flow_0184u8i + + + + + Flow_1ccbyzk + Flow_09v3kpi + Flow_18o75ov + + + + + Flow_0mtd57d + Flow_0qvoubs + Flow_1u837pr + + + + Flow_0184u8i + + - - Flow_08c8ij1 - Flow_0b5e332 - Flow_1jxxrt6 - Flow_07eueok - Flow_0aabyhy + + Flow_1s58qkt + Flow_0kw2jbo + Flow_0wxa7vb + Flow_1esdw3m + Flow_1xju4ax - + + Flow_19ik9s7 + Flow_1s58qkt + Flow_1v6zje9 + + + Flow_0izwlc1 + + - - task.execution.setVariable('isSdm',false); + + + dera_updated + + + Flow_07eueok + Flow_0qbjx6e + Flow_1xju4ax + Flow_1nowy63 + Flow_0izwlc1 + + + Flow_1kyum71 + Flow_0fa3idu + + Flow_0f731f5 + Flow_1vxydh0 + Flow_00qi8nk + Flow_130v3rp + var system = java.lang.System; +system.out.println ("Sent to SDM"); + + + + + + Y + + + ["pid","applicationId","process_pid","task_id"] + + + + task.execution.setVariable('task_id',task.getId()); - - - - task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); + + + task.execution.setVariable('requestStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'DERA'); +task.execution.setVariable('deraStatus', task.execution.getVariable('action')); +task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('userRole','Statutory Decision Maker'); - - - - - ["applicationId", "applicationStatus"] - - - - Flow_07vh0na - Flow_08c8ij1 - - - - - task.execution.setVariable('isCaseworker',false); - - - - - task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('userRole','Caseworker'); - - - - - ["applicationId", "applicationStatus"] - - - - Flow_01suxh6 - Flow_19ik9s7 - - - Flow_0qiqnks - Flow_057qs1x - Flow_01suxh6 - - - Flow_0i3fcvy - Flow_0d8ioqs - Flow_1jxxrt6 - Flow_0qiqnks - var system = java.lang.System; -system.out.println ("Begin DERA Individual Flow - Sent To Caseworker"); -execution.setVariable('isCaseworker',false); -system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety')); - - - Flow_0kw2jbo - Flow_057qs1x - Flow_0ovj0pk - Flow_07vh0na - var system = java.lang.System; -system.out.println ("Sent to SDM"); - - - Flow_0fa3idu - Flow_1phkhb3 - Flow_1nowy63 - - - Flow_0drs8s9 - Flow_1kyum71 - Flow_1u3s5mj - - - - - - - ${action == 'Rejected' or action == 'Approved' } - - - - ${action == 'Recheck' and isSentFromSociety == false} - - - - ${isSentFromSociety == false} - - - - - ${isSentFromSociety == true} - - - ${action == 'Accepted'} - - - ${action == 'Recheck'} - - - Flow_026ykts - Flow_0drs8s9 - Flow_0i3fcvy - - - - Flow_02ysv7t - Flow_026ykts - var system = java.lang.System; -var selectSdm= execution.getVariable('selectSdm'); -system.out.println ("selectSdm"+selectSdm); -execution.setVariable('sdmAssignment',selectSdm); -system.out.println ("sdmAssignment"+execution.getVariable('sdmAssignment')); - -var selectDeraSdm= execution.getVariable('selectDeraSdm'); -system.out.println ("selectDeraSdm"+selectDeraSdm); -execution.setVariable('sdmDeraAssignment',selectDeraSdm); -system.out.println ("sdmDeraAssignment"+execution.getVariable('sdmDeraAssignment')); - -var selectCaseworker= execution.getVariable('selectCaseworker'); -system.out.println ("selectCaseworker"+selectCaseworker); -execution.setVariable('caseworkerAssignment',selectCaseworker); -system.out.println ("caseworkerAssignment"+execution.getVariable('caseworkerAssignment')); - -var selectDeraCaseworker= execution.getVariable('selectDeraCaseworker'); -system.out.println ("selectDeraCaseworker"+selectDeraCaseworker); -execution.setVariable('caseworkerDeraAssignment',selectDeraCaseworker); -system.out.println ("caseworkerDeraAssignment"+execution.getVariable('caseworkerDeraAssignment')); - -var selectSrco= execution.getVariable('selectSrco'); -system.out.println ("selectSrco"+selectSrco); -execution.setVariable('srcoAssignment',selectSrco); -system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment')); - - - - Flow_0gcqir8 - Flow_02ysv7t - Flow_0lgivc3 - - - - Flow_0b418rv - Flow_12uv3km - Flow_0kfjdmp - - - Flow_1j8wa3r - Flow_19ktqsm - Flow_1tu4hj7 - Flow_1ev1kr6 - Flow_0qbjx6e - - - Flow_0d8ruax - Flow_0gb2oz2 - Flow_0qw9o9a - Flow_0pzpbn7 - - - - - Flow_0bz8atu - Flow_1j8wa3r - Flow_1sj5fc8 - - - Flow_1u3s5mj - Flow_1phkhb3 - - Flow_05vthw4 - Flow_1ojyq91 - Flow_019edzt - Flow_0cdvwnp - var system = java.lang.System; -system.out.println ("Sent to Caseworker"); - - - - - - Y - - - ["pid","applicationId","process_pid","task_id"] - - - - task.execution.setVariable('task_id',task.getId()); -task.execution.setVariableLocal('variable1',"srcr"); -task.execution.setVariable('userRole','Caseworker'); - - - task.execution.setVariable('requestStatus', task.execution.getVariable('action')); -task.execution.setVariable('requestType', 'SRCR'); -task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('srcrStatus', task.execution.getVariable('action')); -task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('userRole','Caseworker'); -task.execution.setVariable('subFormName','SRCR Form'); +task.execution.setVariable('userRole','Statutory Decision Maker'); +task.execution.setVariable('subFormName','DERA Form'); - + - Flow_0cdvwnp - Flow_1ccbyzk + Flow_130v3rp + Flow_04rzv3x - - Flow_09v3kpi - Flow_0zzhoui - Flow_1ixkifd - Flow_0pqd76u - Flow_187pabg + + + + execution.setVariable('applicationStatus', "Resubmit"); + + + + + ["applicationId", "applicationStatus"] + + + + + Flow_0ui56bn + Flow_1vxydh0 + + + Flow_1wvb9m4 + Flow_0ui56bn + Flow_0pqk381 + Flow_07enxwq - - Flow_1ixkifd - Flow_0izugkb - Flow_0xqj2sm - Flow_1pdey0j - Flow_0qaeplv - var system = java.lang.System; -system.out.println ("Sent to SDM"); - - + + Flow_07enxwq + Flow_0yy721o + + @@ -930,36 +775,32 @@ system.out.println ("Sent to SDM"); task.execution.setVariable('task_id',task.getId()); +task.execution.setVariableLocal('variable1',"dera"); task.execution.setVariable('requestStatus', task.execution.getVariable('action')); -task.execution.setVariable('requestType', 'SRCR'); -task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('srcrStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'DERA'); +task.execution.setVariable('deraStatus', task.execution.getVariable('action')); task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('userRole','Statutory Decision Maker'); -task.execution.setVariable('subFormName','SRCR Form'); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','Caseworker'); +task.execution.setVariable('subFormName','DERA Form'); - + - Flow_0qaeplv - Flow_0mtd57d + Flow_0go33vq + Flow_13zl1nd - - Flow_0qvoubs - Flow_0k5l8nk - Flow_0ryglee - Flow_1kizv19 + + Flow_1qn2dpn + Flow_0f731f5 + Flow_0yy721o + Flow_1c0kfis - - Flow_0zzhoui - Flow_0k5l8nk - Flow_14snpj2 - - + execution.setVariable('applicationStatus', "Resubmit"); @@ -967,1547 +808,2453 @@ task.execution.setVariable('subFormName','SRCR Form'); - ["applicationId", "applicationStatus", "srcrStatus"] + ["applicationId", "applicationStatus"] - Flow_187pabg - Flow_1ojyq91 - - - - - execution.setVariable('applicationStatus', "Resubmit"); - - - - - ["applicationId", "applicationStatus", "srcrStatus"] - - - - - Flow_0ryglee - Flow_0izugkb + Flow_1c0kfis + Flow_06v4kdf - - Flow_0q159o1 - Flow_019edzt - Flow_0xqj2sm - - - Flow_0pqd76u - Flow_00vao62 - Flow_1axts3r - Flow_1g44pgu - Flow_1up3td8 - Flow_0c71o5w + + Flow_0pqk381 + Flow_06v4kdf + Flow_18exjmw + Flow_0orrcue var system = java.lang.System; -system.out.println ("Begin SRCR Flow - Sent To SRCO"); +system.out.println ("Begin DERA Flow - Sent To Caseworker"); +execution.setVariable('isCaseworker',false); system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety')); - - Flow_1axts3r + + Flow_18exjmw - - - - - Y - - - ["pid","applicationId","process_pid","task_id"] - - - - task.execution.setVariable('task_id',task.getId()); -task.execution.setVariableLocal('variable1',"srcr"); - - - - task.execution.setVariable('requestStatus', task.execution.getVariable('action')); -task.execution.setVariable('requestType', 'SRCR'); -task.execution.setVariable('deleteReason', "completed"); -task.execution.setVariable('srcrStatus', task.execution.getVariable('action')); -task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); -task.execution.setVariable('userRole','Site Risk Classification Officer'); -task.execution.setVariable('subFormName','SRCR Form'); - - - - - - Flow_0c71o5w - Flow_0h34vew - - - Flow_1mxzqgt - Flow_14snpj2 - Flow_0qz0c7u - Flow_1ifs52w + + Flow_0orrcue + Flow_00qi8nk + Flow_0go33vq - + - - execution.setVariable('applicationStatus', "Resubmit"); + + execution.setVariable('bundleStatus', "deraCaseworkerAccepted"); - - + - ["applicationId", "applicationStatus", "srcrStatus"] + ["applicationId", "applicationStatus", "bundleStatus"] - - - Flow_1ifs52w - Flow_00vao62 - - - Flow_0qz0c7u - Flow_1pdey0j - Flow_0q159o1 - - - - - - ${isSentFromSociety == false} + ${action == 'Accepted'} - + - + execution.setVariable('applicationStatus', "Resubmitted"); execution.setVariable('requestStatus', "Resubmitted"); -execution.setVariable('srcrStatus', "Resubmitted"); -execution.setVariable('isSrcrResubmitted', false); +execution.setVariable('deraStatus', "Resubmitted"); +execution.setVariable('isDeraResubmitted', false); + - ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"] + ["applicationId", "applicationStatus", "deraStatus","isDeraResubmitted"] - - ${isSentFromSociety == false} + + ${isSentFromSociety == true} - - + + - ["applicationId", "applicationStatus", "srcrStatus"] + ["applicationId", "applicationStatus", "deraStatus"] - execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); - - - - - - - - - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + execution.setVariable('deraFormUrl', execution.getVariable('formUrl')); - ${action == 'Rejected'} - + + + + - execution.setVariable('srcrBundleStatus', "srcrCaseworkerAccepted"); + execution.setVariable('isDeraResubmitted', true); - ["applicationId", "applicationStatus", "srcrBundleStatus"] + ["applicationId", "applicationStatus", "isDeraResubmitted"] - ${action == 'Accepted'} + ${action == 'Returned'} - - - ${action == 'Recheck'} + + + + + + ${action == 'Recheck' and isSentFromSociety == false} - + - + + - execution.setVariable('isSrcrResubmitted', true); - - - - ["applicationId", "applicationStatus", "isSrcrResubmitted"] - + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); - ${action == 'Returned' } + ${action == 'Rejected' or action == 'Approved' } - + - execution.setVariable('applicationStatus', "Resubmitted"); -execution.setVariable('requestStatus', "Resubmitted"); -execution.setVariable('srcrStatus', "Resubmitted"); -execution.setVariable('isSrcrResubmitted', false); - - - - - ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"] - + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); - - + ${action == 'Rejected'} - - ${isSentFromSociety == true} - - - ${siteRiskClassification != 'notHighRisk'} + + ${isSentFromSociety == false} - - + - ["applicationId", "applicationStatus", "srcrStatus"] + ["applicationId", "applicationStatus", "deraStatus"] - execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); + execution.setVariable('deraFormUrl', execution.getVariable('formUrl')); - - - - - - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); - - ${action == 'Approved' or action == 'Rejected' } - + - - - execution.setVariable('isSrcrResubmitted', true); + execution.setVariable('isDeraResubmitted', true); - ["applicationId", "applicationStatus", "isSrcrResubmitted"] + ["applicationId", "applicationStatus", "isDeraResubmitted"] - ${action == 'Returned' } - - - - - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); - - - ${action == 'Rejected' } - - - ${siteRiskClassification == 'notHighRisk'} + ${action == 'Returned'} - + + execution.setVariable('applicationStatus', "Resubmitted"); execution.setVariable('requestStatus', "Resubmitted"); -execution.setVariable('srcrStatus', "Resubmitted"); -execution.setVariable('isSrcrResubmitted', false); +execution.setVariable('deraStatus', "Resubmitted"); +execution.setVariable('isDeraResubmitted', false); - ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"] + ["applicationId", "applicationStatus", "deraStatus","isDeraResubmitted"] - + execution.setVariable('requestStatus', 'New'); -execution.setVariable('requestType', 'SRCR'); +execution.setVariable('requestType', 'DERA'); - + - + - - - ["applicationId", "applicationStatus", "srcrStatus"] - - - - execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); - - - + + + dera_subforms_updated + + Flow_0zq3j61 + Flow_04eqln5 + Flow_19nit40 + + + + Flow_13zl1nd + Flow_1qn2dpn + Flow_0zq3j61 + + + - + + Flow_19nit40 + + + + + Flow_04rzv3x + Flow_1wvb9m4 + Flow_04eqln5 + + + + + Flow_0njpoxv + Flow_1phnzgm + + Flow_08gusn0 + Flow_1ancmpa + Flow_18kdaee + Flow_11d9mar + var system = java.lang.System; +system.out.println ("Sent to SDM"); + + + + + + Y + + + ["pid","applicationId","process_pid","task_id"] + + + + task.execution.setVariable('task_id',task.getId()); + + + + task.execution.setVariable('requestStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'SoSC'); +task.execution.setVariable('soscStatus', task.execution.getVariable('action')); +task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','Statutory Decision Maker'); +task.execution.setVariable('subFormName','SoSC Form'); + + + + + + Flow_11d9mar + Flow_0tqsk2f + + + + + execution.setVariable('applicationStatus', "Resubmit"); + + + + + ["applicationId", "applicationStatus"] + + + + + Flow_13fbogw + Flow_1ancmpa + + + Flow_1x5geew + Flow_13fbogw + Flow_0zjhnx3 + Flow_0f2ltzc + + + Flow_0f2ltzc + Flow_1uju8pu + + + + + + Y + + + ["pid","applicationId","process_pid","task_id"] + + + + task.execution.setVariable('task_id',task.getId()); +task.execution.setVariableLocal('variable1',"sosc"); + + + + task.execution.setVariable('requestStatus', task.execution.getVariable('action')); +task.execution.setVariable('requestType', 'SoSC'); +task.execution.setVariable('soscStatus', task.execution.getVariable('action')); +task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','Caseworker'); +task.execution.setVariable('subFormName','SoSC Form'); + + + + + + Flow_1wgbrcd + Flow_09s9m5h + + + Flow_1cy9wf5 + Flow_08gusn0 + Flow_1uju8pu + Flow_1hgk3zw + + + + + execution.setVariable('applicationStatus', "Resubmit"); + + + + + ["applicationId", "applicationStatus"] + + + + + Flow_1hgk3zw + Flow_1u9msnt + + + Flow_0zjhnx3 + Flow_1u9msnt + Flow_0l2a4l0 + Flow_0x6lu8g + var system = java.lang.System; +system.out.println ("Begin SoSC Flow - Sent To Caseworker"); +execution.setVariable('isCaseworker',false); +system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety')); + + + Flow_0l2a4l0 + + + Flow_0x6lu8g + Flow_18kdaee + Flow_1wgbrcd + + + + + + dera_subforms_updated + + + Flow_15rrs2v + Flow_0oeq414 + Flow_141nwha + + + Flow_09s9m5h + Flow_1cy9wf5 + Flow_15rrs2v + + + Flow_141nwha + + + Flow_0tqsk2f + Flow_1x5geew + Flow_0oeq414 + + - execution.setVariable('srcrBundleStatus', "srcrSrcoAccepted"); + execution.setVariable('soscBundleStatus', "soscCaseworkerAccepted"); - ["applicationId", "applicationStatus", "srcrBundleStatus"] + ["applicationId", "applicationStatus", "soscBundleStatus"] ${action == 'Accepted'} - + + + + + execution.setVariable('applicationStatus', "Resubmitted"); +execution.setVariable('requestStatus', "Resubmitted"); +execution.setVariable('deraStatus', "Resubmitted"); +execution.setVariable('isDeraResubmitted', false); + + + + + ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"] + + + + + + + + ${isSentFromSociety == true} + + + + + + + ["applicationId", "applicationStatus", "soscStatus"] + + + + execution.setVariable('soscFormUrl', execution.getVariable('formUrl')); + + + + + + - execution.setVariable('isSrcrResubmitted', true); + execution.setVariable('isSoscResubmitted', true); - ["applicationId", "applicationStatus", "isSrcrResubmitted"] + ["applicationId", "applicationStatus", "isSoscResubmitted"] - ${action == 'Returned' } + ${action == 'Returned'} - + + - ${siteRiskClassification != 'notHighRisk' } + ${action == 'Recheck' and isSentFromSociety == false} - - Flow_1kizv19 - Flow_1g44pgu - Flow_1q2jho1 - - - ${action == 'Recheck' } + + + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + + + ${action == 'Rejected' or action == 'Approved' } - - Flow_1q2jho1 - Flow_05vthw4 - Flow_1up3td8 - - - ${siteRiskClassification == 'notHighRisk' } + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + + + ${action == 'Rejected'} - + + ${isSentFromSociety == false} + + + + + ["applicationId", "applicationStatus", "soscStatus"] + + + + execution.setVariable('soscFormUrl', execution.getVariable('formUrl')); + - ${isSentFromSociety == true} - - - Flow_0h34vew - Flow_1mxzqgt - Flow_0lklj13 - - + + - - - dera_subforms_updated - + + + execution.setVariable('isSoscResubmitted', true); + + + + ["applicationId", "applicationStatus", "isSoscResubmitted"] + + - Flow_0lklj13 - Flow_18o75ov - Flow_1u837pr - Flow_0184u8i - - - - - Flow_1ccbyzk - Flow_09v3kpi - Flow_18o75ov - - - - - Flow_0mtd57d - Flow_0qvoubs - Flow_1u837pr - - - - Flow_0184u8i - - - - - Flow_1s58qkt - Flow_0kw2jbo - Flow_0wxa7vb - Flow_1esdw3m - Flow_1xju4ax - - - - - - Flow_19ik9s7 - Flow_1s58qkt - Flow_1v6zje9 - - - - + ${action == 'Returned'} + + + + + + + execution.setVariable('applicationStatus', "Resubmitted"); +execution.setVariable('requestStatus', "Resubmitted"); +execution.setVariable('deraStatus', "Resubmitted"); +execution.setVariable('isDeraResubmitted', false); + + + + ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"] + + + + + + + + + + execution.setVariable('requestStatus', 'New'); +execution.setVariable('requestType', 'SoSC'); + + + + + + + + + + + + + execution.setVariable('isCaseworker',true); + + + ${action == 'Returned'} + + + + + execution.setVariable('isSdm',true); + + + ${action == 'Returned'} + + + ${applicationStatus== 'Resubmitted' and isCaseworker== true} + + + ${applicationStatus== 'Resubmitted' and isSdm== true} + + + ${action == 'Recheck'} + + + ${action == 'Recheck' and isSentFromSociety == true} + + + + ${action == 'Rejected' or action == 'Approved' } + + + ${action == 'Recheck' and isSentFromSociety == false} + + + + + ${isSentFromSociety == false} + + + + + ${isSentFromSociety == true} + + + ${riskclassification == 'exempt' && isSoscAvailable==false} + + + ${action == 'Accepted'} + + + - execution.setVariable('formUrl', execution.getVariable('deraFormUrl')); + execution.setVariable('formUrl', execution.getVariable('deraFormUrl')); + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); +execution.setVariable('formUrl', execution.getVariable('srcrFormUrl')); + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); +execution.setVariable('formUrl', execution.getVariable('soscFormUrl')); + + + + if (execution.getVariable('deraStatus') === "Approved" && execution.getVariable('srcrStatus') === "Approved" && execution.getVariable('soscStatus') === "Approved") +{ +execution.setVariable("applicationStatus", "Approved"); +} +else{ +execution.setVariable("applicationStatus", "Rejected"); +} + + + + + + + + execution.setVariable('bundleUrl', execution.getVariable('formUrl')); + + + ${riskclassification != 'exempt' || isSoscAvailable==true} + + + + + + ${action == 'Rejected'} + + + + + + + ${action == 'Rejected'} + + + + + + task.execution.setVariable('isCssaTeam',false); +task.execution.setVariable('userRole','CSSA Team'); + + + + task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); + + + + + ["applicationId", "applicationStatus"] + + + + Flow_1quswsc + Flow_0gb2oz2 + Flow_0wr0mei + Flow_0lgivc3 + Flow_0bz8atu + + + + + execution.setVariable('applicationStatus', "Resubmit"); +execution.setVariable('returnedBy', "cssaTeam"); + + + + + ["applicationId", "applicationStatus"] + + + + + Flow_0wxa7vb + Flow_19ktqsm + Flow_0qw9o9a + Flow_12uv3km + Flow_0b5e332 + Flow_1stifo9 + + + Flow_0dbqph3 + Flow_1stifo9 + Flow_05pndkl + var system = java.lang.System; +var riskclassification = execution.getVariable('riskclassification'); +system.out.println ("riskclassification "+riskclassification); +var typeOfReview = execution.getVariable('typeOfReview'); +system.out.println ("typeOfReview "+typeOfReview); +execution.setVariable('typeOfReview',typeOfReview); +var clientEmail = execution.getVariable('simpleemail'); +system.out.println ("clientEmail "+clientEmail); +execution.setVariable('clientEmail',clientEmail); +var siteRiskClassification = execution.getVariable('siteRiskClassification'); +system.out.println ("siteRiskClassification "+siteRiskClassification ); +execution.setVariable('siteRiskClassification',siteRiskClassification); +execution.setVariable('formName','Detailed Ecological Risk Assessment Checklist'); +execution.setVariable('EmailType','DERA'); +execution.setVariable('name','User'); +var emailsToArray = []; +emailsToArray.push(clientEmail) +execution.setVariable("emailTo", Java.to(emailsToArray, "java.lang.Object[]")); + +execution.setVariable('isSoscAvailable',true); + + + Flow_1rc30l8 + Flow_0dbqph3 + var system = java.lang.System; +system.out.println ("Submit Bundle"); +execution.setVariable('isAp',false); +execution.setVariable('isSociety',false); +execution.setVariable('isCssaTeam',false); + + + Flow_1rc30l8 + + + Flow_1xj96i6 + Flow_1quswsc + Flow_142lsgk + + + + + task.execution.setVariable('isSociety',false); +task.execution.setVariable('userRole','CSAP Society'); + + + + task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); +var system = java.lang.System; +task.execution.setVariable('isSentFromSociety',true); +system.out.println ("isSentFromSociety "+ task.execution.getVariable('isSentFromSociety')); + + + + + ["applicationId", "applicationStatus"] + + + + Flow_0kfjdmp + Flow_0543g25 + Flow_1ev1kr6 + Flow_0d8ruax + + + + + task.execution.setVariable('isAp',false); +task.execution.setVariable('userRole','CSAP'); + + + + task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); + + + + + ["applicationId", "applicationStatus"] + + + + Flow_142lsgk + Flow_0pzpbn7 + Flow_0527h3y + Flow_0b418rv + + + + + var system = java.lang.System; +system.out.println ("form signed"); + + + Flow_05pndkl + Flow_0ohuh4k + + + Flow_0ohuh4k + Flow_1xj96i6 + Flow_0527h3y + Flow_0543g25 + Flow_0wr0mei + Flow_0d8ioqs + Flow_0ovj0pk + + + + + task.execution.setVariable('isCssaTeam',false); + + + + task.execution.setVariable('applicationStatus', task.execution.getVariable('action')); +task.execution.setVariable('deleteReason', "completed"); +task.execution.setVariable('userRole','CSSA Manager'); + + + + + ["applicationId", "applicationStatus"] + + + + Flow_1tu4hj7 + Flow_1esdw3m + Flow_0aabyhy + Flow_0gcqir8 + + + Flow_026ykts + Flow_0drs8s9 + Flow_0i3fcvy + + + + Flow_02ysv7t + Flow_026ykts + var system = java.lang.System; + +var selectDeraSdm= execution.getVariable('selectDeraSdm'); +system.out.println ("selectDeraSdm"+selectDeraSdm); + +var selectDeraCaseworker= execution.getVariable('selectDeraCaseworker'); +system.out.println ("selectDeraCaseworker"+selectDeraCaseworker); + +var selectSoscSdm= execution.getVariable('selectSoscSdm'); +system.out.println ("selectSoscSdm"+selectSoscSdm); + +var selectSoscCaseworker= execution.getVariable('selectSoscCaseworker'); +system.out.println ("selectSoscCaseworker"+selectSoscCaseworker); + +var selectSrcrSdm= execution.getVariable('selectSdm'); +system.out.println ("selectSrcrSdm"+selectSrcrSdm); + +var selectSrcrCaseworker= execution.getVariable('selectCaseworker'); +system.out.println ("selectSrcrCaseworker"+selectSrcrCaseworker); + +var selectSrco= execution.getVariable('selectSrco'); +system.out.println ("selectSrco"+selectSrco); +execution.setVariable('srcoAssignment',selectSrco); +system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment')); + +var selectCaseworker = selectDeraCaseworker? selectDeraCaseworker:(selectSoscCaseworker?selectSoscCaseworker:(selectSrcrCaseworker?selectSrcrCaseworker:null)); +execution.setVariable('caseworkerAssignment',selectCaseworker); +system.out.println ("caseworkerAssignment"+execution.getVariable('caseworkerAssignment')); + +var selectSdm = selectDeraSdm? selectDeraSdm:(selectSoscSdm?selectSoscSdm:(selectSrcrSdm?selectSrcrSdm:null)); +execution.setVariable('sdmAssignment',selectSdm); +system.out.println ("sdmAssignment"+execution.getVariable('sdmAssignment')); + + + Flow_00pfp2v + Flow_02ysv7t + Flow_0lgivc3 + + + Flow_0fv5367 + Flow_12uv3km + Flow_0kfjdmp + + + Flow_1j8wa3r + Flow_19ktqsm + Flow_1tu4hj7 + Flow_1ev1kr6 + Flow_0qbjx6e + + + Flow_1rlisdb + Flow_0gb2oz2 + Flow_0qw9o9a + Flow_0pzpbn7 + + + Flow_0bz8atu + Flow_1j8wa3r + Flow_1sj5fc8 + + + + + + dera_updated + + + Flow_1sj5fc8 + Flow_16ofiye + Flow_15d65om + Flow_183ni86 + Flow_1kvztr8 + + + Flow_1kvztr8 + + + Flow_0b418rv + Flow_0fv5367 + Flow_16ofiye + + + Flow_0d8ruax + Flow_1rlisdb + Flow_15d65om + + + Flow_0gcqir8 + Flow_00pfp2v + Flow_183ni86 + + + + + var system = java.lang.System; +execution.setVariable('isSentFromSociety',false); +system.out.println ("isSentFromSociety "+ execution.getVariable('isSentFromSociety')); + + + ${typeOfReview== 'directToMinistryApplication'} + + + + ${action == 'Accepted'} + + + ${applicationStatus== 'Resubmitted' and isCssaTeam== true} + + + ${action == 'Recheck'} + + + + + + + + execution.setVariable('isCssaTeam',true); + + + ${action == 'Returned'} + + + + + execution.setVariable('isAp',true); + + + ${action == 'Returned'} + + + + + execution.setVariable('isSociety',true); + + + ${action == 'Returned'} + + + + + + + execution.setVariable('applicationStatus', "Resubmitted"); - - - execution.setVariable('bundleUrl', execution.getVariable('formUrl')); -execution.setVariable('formUrl', execution.getVariable('srcrFormUrl')); + + + ["applicationId", "applicationStatus"] + - - - if (execution.getVariable('deraStatus') === "Approved" && execution.getVariable('srcrStatus') === "Approved" ) -{ -execution.setVariable("applicationStatus", "Approved"); -} -else{ -execution.setVariable("applicationStatus", "Rejected"); -} + + + + + + + + + + + ["applicationId", "applicationStatus"] + - - ${action == 'Rejected'} + + ${applicationStatus!= 'Resubmitted'} - - ${action == 'Rejected'} + + + ${typeOfReview!= 'directToMinistryApplication'} - - Flow_0izwlc1 - - + + + ${action == 'Accepted'} + + + ${applicationStatus== 'Resubmitted' and isSociety== true} + + + ${action == 'Recheck'} + + + + ${action == 'Recheck'} + + + ${applicationStatus== 'Resubmitted' and isAp== true} + + + + + ${action == 'Accepted'} + + + + - - - dera_updated - + - Flow_165eq8z - Flow_07eueok - Flow_1v6zje9 - Flow_0qbjx6e - Flow_1xju4ax - Flow_1nowy63 - Flow_0izwlc1 - - - Flow_0b5e332 - Flow_1ij7p7z - Flow_165eq8z + ${action == 'Accepted'} + + + + + + + + + + + + Flow_0drs8s9 + Flow_1kyum71 + Flow_1u3s5mj + Flow_03jspvi - + + Flow_03jspvi + Flow_0njpoxv + Flow_0kehuqf + + + ${isSoscAvailable==true} + + + + Flow_1phnzgm + Flow_0kehuqf + Flow_1qdnyub + + + - - - dera_updated - + + execution.setVariable('soscFormUrl', execution.getVariable('formUrl')); + +var system = java.lang.System; +execution.setVariable('soscStatus','Approved'); +system.out.println ("soscStatus "+execution.getVariable('soscStatus') ); + - Flow_1sj5fc8 - Flow_1kvztr8 - - - Flow_1kvztr8 - + ${isSoscAvailable==false} + + + Flow_1u3s5mj + Flow_13aqwr9 + Flow_1hjiq9n + + + ${riskclassification != 'exempt'} + + + Flow_1phkhb3 + Flow_1hjiq9n + Flow_09v5hyw + + + + + + execution.setVariable('srcrFormUrl', execution.getVariable('formUrl')); + +var system = java.lang.System; +execution.setVariable('srcrStatus','Approved'); +system.out.println ("srcrStatus "+execution.getVariable('srcrStatus') ); + + + ${riskclassification == 'exempt'} + - + - - + + + + + - - + + - + - - + + - - + + - - + + + + + - - - - - + + + + + + + + + + - + - - - - - - + + + + + + + + + - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - + - - - - + + + - + - - - - - - + + + + + + + + + - + - - - - - - - - - - - - + + + + + + - + - - - - - - - - - - + + + + + + + - + - - - - - - - - + + + + + + + - + - - - - - + + + - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - + + + + - + - - - - - - - - - + + + - + - - - - - + + + - - - - - + + + - - - - - + + + + + - + - - - - - - - + + + - + - - - - - + + + + + - + - - - - - - - - - - - - - - - + + + + + + + - - - + + + + - + - - - - - + + + + + - + - - - - - + + + + + - + - - - + + + - - - - - + + + + + + + - + - - - + + + + - + - - - - + + + + + - + - - - - + + + - + - - - + + + + - + - - - + + + - - - + + + - - - + + + + + + + - + - - - - - - - - - + + + - + - - - - - + + + + + - + - - - + + + - + - - - - - + + + - + - - - - + + + + + - + - - - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + - - + + + + + + + + - - + + + - - + + + + + + + + + + + - + - - + + - + - - - + + - - - + + + + + - - - + + - - + + + + + - + - - - + + + + + - - + + - - + + - - - + + - - - - - - - - - - - - - + + + + + + + + + - - - + + + + + + - - - + + + + + + + + - - - + + + - - - + + + - - - - + + + - + - - - + + + + + - + - - - - - - - + + + - + - - - - + + + + - + - - - + + + - + - - - - - + + + + + + + - + - - - + + + + - + - - - + + + - - - + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - + + + - + - - - - + + + + + + - + - - - - - + + - - + + - - + + - + - - + + - + - - + + + - - - - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + - - + + - - - - - + + - - + + + + + - - + + - + - - + + - - + + - - - - - - - - - - - + + + - - + + - + - - + + + - + - + - + - + - + - + - + - + - + - + - + - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + - - - + + + + + + + + - - - - + + + + + - - - + + + + + + + + - - - + + + + - - - + + + - - - - - + + + - + - - - + + + + - + - - - + + + + + + + + + + + - + - - - - - + + + + + + + + + + + + + - + - - - + + + + - + - - - + + + - + - - - - - - - - - - - - - - - - + + + - + - - - + + + + - + - - - - - + + + + - + - - - - + + + - + - - - + + + + + + + + + + + + + + + + + + + - + - - - + + + - - - + + + + + - - - - - + + + + + + + + + + + + + - + - - - - - + + + + + + + + - + - - - - + + + - + - - - - + + + + + + + + + + + - + - - - - - + + + + + + + + + - + - - - + + + + + - + - - - - - + + + + + - + - - - - - - - - - - - + + + - + - - - - + + + + + + + + + + + + + + + - + - - - - + + + + - + - - - - - - - - - + + + - + - - - - - - - - - + + + + + + + + + + + + - + - - - + + + + + + + + + + - + - - - - - - - - - + + + + + + - + - - - - - - + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + + - + - - - + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - + + + + - + - - - - - - + + + + + + + + + + - + - - - - - - - - + diff --git a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Common/email-template.dmn b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Common/email-template.dmn index 9c01e388..bd2ae726 100644 --- a/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Common/email-template.dmn +++ b/forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Common/email-template.dmn @@ -1,5 +1,5 @@ - + @@ -300,6 +300,32 @@ "epd-support@gov.bc.ca" + + + "sosc_subforms_updated" + + + + + + "NOREPLYEPD@gov.bc.ca" + + + + + + + + + "Summary of Site Condition Report Update" + + + "templates/request_updated.ftl" + + + "epd-support@gov.bc.ca" + +