Skip to content

Commit

Permalink
Merge pull request #549 from bcgov/SRS-132
Browse files Browse the repository at this point in the history
updated DERA workflow to include srcrBundleStatus
  • Loading branch information
nikhila-aot authored Oct 18, 2023
2 parents e450c3f + f6dc97e commit 176539a
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5488,7 +5488,7 @@
"attributes": {},
"components": [
{
"id": "eh8z2bfa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eh8z2bfa00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "panel",
"tags": [],
"tree": false,
Expand Down Expand Up @@ -7275,71 +7275,71 @@
"offset": 0,
"components": [
{
"id": "ell9c8g",
"key": "dera",
"html": "<p>1.2 Does the DERA describe how the method(s) of assessment and the findings of any previous investigation(s) were used to design and carry out the current assessment?&nbsp;</p>",
"html": "<p>1.2 Does the DERA describe how the method(s) of assessment and the findings of any previous investigation(s) were used to design and carry out the current assessment?&nbsp;</p></br>",
"type": "content",
"input": false,
"label": "Text/Images",
"hidden": false,
"tableView": false,
"hideOnChildrenHidden": false,
"placeholder": "",
"prefix": "",
"customClass": "",
"suffix": "",
"unique": false,
"widget": null,
"dbIndex": false,
"overlay": {
"top": "",
"left": "",
"style": "",
"width": "",
"height": ""
},
"tooltip": "",
"disabled": false,
"multiple": false,
"defaultValue": null,
"protected": 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,
"widget": null,
"attributes": {},
"validateOn": "change",
"validate": {
"custom": "",
"unique": false,
"multiple": false,
"required": false,
"custom": "",
"customPrivate": false,
"strictDateValidation": false
"strictDateValidation": false,
"multiple": false,
"unique": false
},
"autofocus": false,
"encrypted": false,
"hideLabel": false,
"modalEdit": false,
"protected": false,
"refreshOn": "",
"tableView": false,
"attributes": {},
"errorLabel": "",
"persistent": true,
"properties": {},
"validateOn": "change",
"clearOnHide": true,
"conditional": {
"eq": "",
"show": null,
"when": null
"when": null,
"eq": ""
},
"customClass": "",
"description": "",
"placeholder": "",
"defaultValue": null,
"dataGridLabel": false,
"labelPosition": "top",
"overlay": {
"style": "",
"left": "",
"top": "",
"width": "",
"height": ""
},
"allowCalculateOverride": false,
"encrypted": false,
"showCharCount": false,
"showWordCount": false,
"calculateValue": "",
"calculateServer": false,
"properties": {},
"allowMultipleMasks": false,
"customDefaultValue": "",
"hideOnChildrenHidden": false,
"allowCalculateOverride": false,
"addons": []
"addons": [],
"id": "efr6f1w"
}
],
"currentWidth": 4
Expand Down Expand Up @@ -36017,7 +36017,7 @@
}
],
"collapsible": false,
"id": "eof7940000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eof794000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,16 @@ execution.setVariable('srcrStatus', "Resubmitted");</camunda:script>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${action == 'Rejected'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1ixkifd" name="Accepted" sourceRef="Gateway_0wyokmr" targetRef="Activity_15ke6f4">
<bpmn:extensionElements>
<camunda:executionListener event="take">
<camunda:script scriptFormat="javascript">execution.setVariable('srcrBundleStatus', "srcrCaseworkerAccepted");</camunda:script>
</camunda:executionListener>
<camunda:executionListener class="org.camunda.bpm.extension.hooks.listeners.BPMFormDataPipelineListener" event="take">
<camunda:field name="fields">
<camunda:expression>["applicationId", "applicationStatus", "srcrBundleStatus"]</camunda:expression>
</camunda:field>
</camunda:executionListener>
</bpmn:extensionElements>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${action == 'Accepted'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0pqd76u" name="Recheck" sourceRef="Gateway_0wyokmr" targetRef="Activity_12sm7v1">
Expand Down Expand Up @@ -1250,6 +1260,16 @@ execution.setVariable('requestType', 'SRCR');</camunda:script>
</bpmn:extensionElements>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0qz0c7u" name="Accepted" sourceRef="Gateway_102i3iq" targetRef="Gateway_0ynmdzk">
<bpmn:extensionElements>
<camunda:executionListener event="take">
<camunda:script scriptFormat="javascript">execution.setVariable('srcrBundleStatus', "srcrSrcoAccepted");</camunda:script>
</camunda:executionListener>
<camunda:executionListener class="org.camunda.bpm.extension.hooks.listeners.BPMFormDataPipelineListener" event="take">
<camunda:field name="fields">
<camunda:expression>["applicationId", "applicationStatus", "srcrBundleStatus"]</camunda:expression>
</camunda:field>
</camunda:executionListener>
</bpmn:extensionElements>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${action == 'Accepted'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1ifs52w" name="Returned" sourceRef="Gateway_102i3iq" targetRef="Activity_0mpunb8">
Expand Down

0 comments on commit 176539a

Please sign in to comment.