Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed email after cssa manager action and added proper role in note… #568

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 57 additions & 47 deletions forms-flow-ai/epd-forms/Site Risk Classification Report.json
Original file line number Diff line number Diff line change
Expand Up @@ -1439,80 +1439,90 @@
"components": [
{
"label": "Role",
"disabled": true,
"tableView": true,
"customDefaultValue": "var b =JSON.parse(localStorage.getItem('UserDetails'))\r\nif(b.groups.indexOf('/formsflow/formsflow-client') > -1 )\r\n{\r\n value = 'Client'\r\n}\r\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/csap') > -1 )\r\n{\r\n value = 'Approved Professional'\r\n}\r\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/csap-society') > -1 )\r\n{\r\n value = 'CSAP Society'\r\n}\r\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/cssa-team') > -1 )\r\n{\r\n value = 'CSSA Team'\r\n}\r\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/caseworker') > -1 )\r\n{\r\n value = 'Caseworker'\r\n}\r\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/sdm') > -1 )\r\n{\r\n value = 'Statutory Decision Maker'\r\n}\r\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/site-risk-classification-officer') > -1 )\r\n{\r\n value = 'Site Risk Classification Officer'\r\n}",
"key": "role",
"type": "textfield",
"input": true,
"labelPosition": "top",
"placeholder": "",
"description": "",
"tooltip": "",
"prefix": "",
"customClass": "",
"suffix": "",
"multiple": false,
"defaultValue": null,
"protected": false,
"unique": false,
"persistent": true,
"widget": {
"type": "input"
},
"inputMask": "",
"displayMask": "",
"allowMultipleMasks": false,
"customClass": "",
"tabindex": "",
"autocomplete": "",
"hidden": false,
"clearOnHide": true,
"refreshOn": "",
"redrawOn": "",
"modalEdit": false,
"dataGridLabel": false,
"labelPosition": "top",
"description": "",
"errorLabel": "",
"tooltip": "",
"hideLabel": false,
"tabindex": "",
"showWordCount": false,
"showCharCount": false,
"mask": false,
"autofocus": false,
"spellcheck": true,
"disabled": true,
"tableView": true,
"modalEdit": false,
"multiple": false,
"persistent": true,
"inputFormat": "plain",
"protected": false,
"dbIndex": false,
"case": "",
"truncateMultipleSpaces": false,
"encrypted": false,
"redrawOn": "",
"clearOnHide": true,
"customDefaultValue": "var b =JSON.parse(localStorage.getItem('UserDetails'))\nif(b.groups.indexOf('/formsflow/formsflow-client') > -1 )\n{\n value = 'Client'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/csap') > -1 )\n{\n value = 'Approved Professional'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/csap-society') > -1 )\n{\n value = 'CSAP Society'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/cssa-team') > -1 )\n{\n value = 'CSSA Team'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/cssa-manager') > -1 )\n{\n value = 'CSSA Manager'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/caseworker') > -1 )\n{\n value = 'Caseworker'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/sdm') > -1 )\n{\n value = 'Statutory Decision Maker'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/site-risk-classification-officer') > -1 )\n{\n value = 'Site Risk Classification Officer'\n}\nelse if(b.groups.indexOf('/formsflow/formsflow-reviewer/site-information-advisor') > -1 )\n{\n value = 'Site Information Advisor'\n}",
"calculateValue": "",
"calculateServer": false,
"widget": {
"type": "input"
},
"attributes": {},
"allowCalculateOverride": false,
"validateOn": "change",
"validate": {
"required": false,
"pattern": "",
"customMessage": "",
"custom": "",
"customPrivate": false,
"strictDateValidation": false,
"multiple": false,
"unique": false,
"json": "",
"minLength": "",
"maxLength": "",
"pattern": ""
"strictDateValidation": false,
"multiple": false,
"unique": false
},
"unique": false,
"errorLabel": "",
"errors": "",
"key": "role",
"tags": [],
"properties": {},
"conditional": {
"show": null,
"when": null,
"eq": ""
"eq": "",
"json": ""
},
"customConditional": "",
"logic": [],
"attributes": {},
"overlay": {
"style": "",
"page": "",
"left": "",
"top": "",
"width": "",
"height": ""
},
"allowCalculateOverride": false,
"encrypted": false,
"showCharCount": false,
"showWordCount": false,
"properties": {},
"allowMultipleMasks": false,
"type": "textfield",
"input": true,
"refreshOn": "",
"dataGridLabel": false,
"addons": [],
"mask": false,
"inputType": "text",
"inputFormat": "plain",
"inputMask": "",
"displayMask": "",
"spellcheck": true,
"truncateMultipleSpaces": false,
"id": "elcx7d"
"id": "ezzq7as",
"defaultValue": ""
}
],
"size": "md",
Expand Down Expand Up @@ -4208,7 +4218,7 @@
"attributes": {},
"components": [
{
"id": "ele95t00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "ele95t0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "spropertyOwnerAndOrOperator",
"tree": false,
"type": "panel",
Expand Down Expand Up @@ -13618,7 +13628,7 @@
"attributes": {},
"components": [
{
"id": "eks0gu0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eks0gu000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "exposurePathwayQuestionnaireAffectedParcel",
"tree": false,
"type": "panel",
Expand Down Expand Up @@ -17561,7 +17571,7 @@
}
],
"collapsible": false,
"id": "eo5mwyp00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eo5mwyp0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<bpmn:flowNodeRef>Activity_1qnqtak</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0mexztf</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0m6abz8</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0urokjh</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:exclusiveGateway id="Gateway_1nljcfc" name="Direct to Ministry">
Expand Down Expand Up @@ -247,7 +246,6 @@ task.execution.setVariable('userRole','CSSA Team');</camunda:script>
<bpmn:incoming>Flow_1s9sm8u</bpmn:incoming>
<bpmn:incoming>Flow_1gnzs70</bpmn:incoming>
<bpmn:incoming>Flow_0e8b4d4</bpmn:incoming>
<bpmn:incoming>Flow_0v5ez8t</bpmn:incoming>
<bpmn:outgoing>Flow_1ehxfe5</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:receiveTask id="Task_05ulff4" name="Application Resubmitted" messageRef="Message_1ngb2eg">
Expand Down Expand Up @@ -485,7 +483,7 @@ execution.setVariable('isSdm',false);</camunda:script>
<bpmn:sequenceFlow id="Flow_1rsleyy" name="Approve/Reject" sourceRef="Gateway_0cjov6g" targetRef="Event_0rqe9p4">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${action == 'Approved' or action == 'Rejected' }</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0s43gpy" sourceRef="Activity_0m6abz8" targetRef="Gateway_0urokjh" />
<bpmn:sequenceFlow id="Flow_0s43gpy" sourceRef="Activity_0m6abz8" targetRef="Gateway_0mexztf" />
<bpmn:sequenceFlow id="Flow_07tic47" name="Accepted" sourceRef="Gateway_0mexztf" targetRef="Activity_1qnqtak">
<bpmn:extensionElements>
<camunda:executionListener class="org.camunda.bpm.extension.hooks.listeners.FormBPMFilteredDataPipelineListener" event="take" />
Expand Down Expand Up @@ -671,7 +669,7 @@ system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment'));
</bpmn:script>
</bpmn:scriptTask>
<bpmn:exclusiveGateway id="Gateway_0mexztf" name="Action Taken&#10;">
<bpmn:incoming>Flow_1q9t450</bpmn:incoming>
<bpmn:incoming>Flow_0s43gpy</bpmn:incoming>
<bpmn:outgoing>Flow_07tic47</bpmn:outgoing>
<bpmn:outgoing>Flow_1qaodt0</bpmn:outgoing>
</bpmn:exclusiveGateway>
Expand All @@ -695,13 +693,6 @@ system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment'));
<bpmn:incoming>Flow_1igr7br</bpmn:incoming>
<bpmn:outgoing>Flow_0s43gpy</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1q9t450" sourceRef="Gateway_0urokjh" targetRef="Gateway_0mexztf" />
<bpmn:parallelGateway id="Gateway_0urokjh">
<bpmn:incoming>Flow_0s43gpy</bpmn:incoming>
<bpmn:outgoing>Flow_1q9t450</bpmn:outgoing>
<bpmn:outgoing>Flow_0v5ez8t</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_0v5ez8t" sourceRef="Gateway_0urokjh" targetRef="Activity_05x4sl7" />
</bpmn:process>
<bpmn:message id="Message_1ngb2eg" name="application_resubmitted" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
Expand Down Expand Up @@ -738,15 +729,6 @@ system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment'));
<bpmndi:BPMNShape id="Lane_01ohwxm_di" bpmnElement="Lane_01ohwxm" isHorizontal="true">
<dc:Bounds x="190" y="1230" width="2100" height="470" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0v5ez8t_di" bpmnElement="Flow_0v5ez8t">
<di:waypoint x="1025" y="2290" />
<di:waypoint x="1820" y="2290" />
<di:waypoint x="1820" y="1940" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1q9t450_di" bpmnElement="Flow_1q9t450">
<di:waypoint x="1000" y="2315" />
<di:waypoint x="1000" y="2365" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_19r835c_di" bpmnElement="Flow_19r835c">
<di:waypoint x="1000" y="2560" />
<di:waypoint x="1000" y="2650" />
Expand Down Expand Up @@ -822,7 +804,7 @@ system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment'));
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0s43gpy_di" bpmnElement="Flow_0s43gpy">
<di:waypoint x="1000" y="2220" />
<di:waypoint x="1000" y="2265" />
<di:waypoint x="1000" y="2365" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1rsleyy_di" bpmnElement="Flow_1rsleyy">
<di:waypoint x="1000" y="4265" />
Expand Down Expand Up @@ -1285,9 +1267,6 @@ system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment'));
<dc:Bounds x="950" y="2140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1otjx9z_di" bpmnElement="Gateway_0urokjh">
<dc:Bounds x="975" y="2265" width="50" height="50" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Loading