Skip to content

Commit

Permalink
updated DERA workflow to include srcrBundleStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
midhun-aot committed Oct 18, 2023
1 parent e450c3f commit 9dc3996
Showing 1 changed file with 20 additions and 0 deletions.
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 9dc3996

Please sign in to comment.