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 88d65bf9..187bb6cd 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
@@ -5,224 +5,389 @@
-
- Gateway_17raw62
- Activity_15772wo
- Gateway_08cgufe
- StartEvent_1
- Activity_0k6ixqm
- Activity_1ozfgid
- Activity_1v5ffpw
- Gateway_1qqphxe
- Activity_0a9pnut
-
-
- Activity_1uc1xs1
- Gateway_04o747e
- Gateway_0c2u1eu
-
-
- Gateway_0oobb3z
- Gateway_1gzq005
- Activity_1os7sys
- Event_0bwdoce
- Activity_08ykdar
-
-
- Activity_1ao3zkj
- Gateway_15p5urd
- Gateway_1dbyjrs
+
+ Gateway_1lfy3cm
+ Activity_1qnqtak
+ Gateway_1chdumm
+ Activity_0vo5rls
- Gateway_1m36jwe
Activity_15e3ho6
Activity_0tsm937
Gateway_1lgyz1h
Activity_1bsz2qm
Activity_1hs3dja
Gateway_1lbpcug
- Gateway_1xrj5sn
+ Gateway_1w5c6b3
+ Gateway_0462nfe
+ Gateway_0uf75ow
+ Event_0sdygwc
Gateway_1l4bqor
Activity_0kxdigs
Gateway_0pty1fn
Gateway_0o9l3lp
Activity_0q362ss
- Gateway_0uf75ow
Event_1n5addo
- Gateway_0vp590v
- Gateway_0qemi54
- Event_0sdygwc
Activity_1bhbq4y
Activity_07ttn7q
Activity_12e3zvm
- Activity_1wrcu91
- Activity_0r75nsw
- Activity_0baoxlp
- Activity_1d2xuv3
- Gateway_06gmmov
+ Gateway_1m36jwe
+ Gateway_0nmj3dm
+ Gateway_1qrhl19
-
- Gateway_1chdumm
- Gateway_1l0ehcm
- Activity_0vo5rls
- Gateway_0w0koaj
- Activity_1qnqtak
- Gateway_1lfy3cm
- Gateway_0xtjprr
+
+ Gateway_0yisf6v
+ Activity_1ao3zkj
+ Gateway_15p5urd
+
+
+ Activity_08ykdar
+ Gateway_0oobb3z
+ Gateway_1gzq005
+ Activity_1os7sys
+ Event_0bwdoce
+
+
+ Gateway_00nmer9
+ Activity_1uc1xs1
+ Gateway_04o747e
+
+
+ Gateway_17raw62
+ Activity_15772wo
+ Gateway_08cgufe
+ StartEvent_1
+ Activity_0k6ixqm
+ Activity_1ozfgid
+ Activity_1v5ffpw
+ Gateway_1qqphxe
+ Activity_0a9pnut
-
- Flow_026ykts
- Flow_0drs8s9
- Flow_0i3fcvy
-
-
- Flow_0fa3idu
- Flow_1phkhb3
- Flow_1m5dyj2
- Flow_1nowy63
-
-
- Flow_0kw2jbo
- Flow_057qs1x
- Flow_0ovj0pk
- Flow_07vh0na
- var system = java.lang.System;
-system.out.println ("Sent to SDM");
-
-
- Flow_0d8ioqs
- Flow_1jxxrt6
- Flow_131saby
- Flow_0qiqnks
- var system = java.lang.System;
-system.out.println ("Begin CSSA Individual Flow - Sent To Caseworker");
-execution.setVariable('isCaseworker',false);
-system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
-
-
- Flow_0qiqnks
- Flow_057qs1x
- Flow_01suxh6
-
-
+
+
+
+
+
+
+
+ ${action == 'Rejected'}
+
+
+
+
+
+
+
+ ${action == 'Accepted'}
+
+
-
- task.execution.setVariable('isCaseworker',false);
-
-
-
- task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
-task.execution.setVariable('deleteReason', "completed");
-task.execution.setVariable('userRole','Caseworker');
-
-
-
+
+ var system = java.lang.System;
+system.out.println ("site owner flow");
+
+
+ ${owneroperatorradioGroup=='different'}
+
+
+
+
+ execution.setVariable('isSociety',true);
+
+
+ ${action == 'Returned'}
+
+
+
+
+ execution.setVariable('isAp',true);
+
+
+ ${action == 'Returned'}
+
+
+
+
+ execution.setVariable('isCssaTeam',true);
+
+
+ ${action == 'Returned'}
+
+
+
+
+ execution.setVariable('isCaseworker',true);
+
+
+ ${action == 'Returned'}
+
+
+
+
+
+
+ execution.setVariable('applicationStatus', "Resubmitted");
+
+
["applicationId", "applicationStatus"]
-
+
+
- Flow_01suxh6
- Flow_19ik9s7
-
-
+
+
+
-
- task.execution.setVariable('isSdm',false);
-
-
-
- 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
-
-
- Flow_0c90maq
- Flow_0b5e332
- Flow_1jxxrt6
- Flow_07eueok
- Flow_0aabyhy
-
-
- Flow_0drs8s9
- Flow_0g9jpvb
- Flow_118thnc
-
-
- Flow_118thnc
- Flow_1b7b7vp
- Flow_1r9sgs4
-
-
- 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('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');
-
-
-
-
-
-
- Flow_0cdvwnp
- Flow_1ccbyzk
-
-
- Flow_02gyla8
- Flow_0zzhoui
- Flow_1ixkifd
- Flow_0pqd76u
- Flow_187pabg
-
-
- Flow_1ixkifd
- Flow_0izugkb
- Flow_0xqj2sm
- Flow_1pdey0j
- Flow_0qaeplv
+
+
+
+
+ var system = java.lang.System;
+execution.setVariable('isSentFromSociety',false);
+system.out.println ("isSentFromSociety "+ execution.getVariable('isSentFromSociety'));
+
+
+ ${typeOfReview== 'directToMinistryApplication'}
+
+
+ ${action == 'Recheck'}
+
+
+
+ ${action == 'Accepted'}
+
+
+ ${action == 'Recheck'}
+
+
+
+ ${typeOfReview!= 'directToMinistryApplication'}
+
+
+ ${owneroperatorradioGroup=='sameAsApplicant'}
+
+
+
+ ${applicationStatus== 'Signed'}
+
+
+ ${applicationStatus!= 'Resubmitted'}
+
+
+ ${applicationStatus== 'Resubmitted' and isAp== true}
+
+
+ ${applicationStatus== 'Resubmitted' and isSociety== true}
+
+
+ ${applicationStatus== 'Resubmitted' and isCssaTeam== true}
+
+
+
+ ${action == 'Recheck'}
+
+
+
+
+ execution.setVariable('bundleStatus', "cssaTeamAccepted");
+
+
+
+ ["applicationId", "applicationStatus", "bundleStatus"]
+
+
+
+ ${action == 'Accepted'}
+
+
+
+
+
+
+
+
+
+
+ ${riskclassification != 'exempt'}
+
+
+
+ ${isSoscAvailable==true}
+
+
+
+ ${action == 'Rejected' or action == 'Approved' }
+
+
+ ${action == 'Recheck' and isSentFromSociety == true}
+
+
+
+
+ execution.setVariable('isSdm',true);
+
+
+ ${action == 'Returned'}
+
+
+
+
+
+ ${isSentFromSociety == false}
+
+
+
+ ${action == 'Recheck' and isSentFromSociety == false}
+
+
+ ${applicationStatus== 'Resubmitted' and isCaseworker== true}
+
+
+
+
+
+ execution.setVariable('bundleStatus', "cssaCaseworkerAccepted");
+
+
+
+ ["applicationId", "applicationStatus", "bundleStatus"]
+
+
+
+ ${action == 'Accepted'}
+
+
+ ${isSentFromSociety == true}
+
+
+ ${applicationStatus== 'Resubmitted' and isSdm== true}
+
+
+
+
+ execution.setVariable('formUrl', execution.getVariable('cssaFormUrl'));
+
+
+
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+execution.setVariable('formUrl', execution.getVariable('srcrFormUrl'));
+
+
+
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+execution.setVariable('formUrl', execution.getVariable('soscFormUrl'));
+
+
+
+ var system = java.lang.System;
+system.out.println ("cssaStatus "+execution.getVariable('cssaStatus') );
+system.out.println ("srcrStatus "+execution.getVariable('srcrStatus') );
+system.out.println ("soscStatus "+execution.getVariable('soscStatus') );
+
+if (execution.getVariable('cssaStatus') === "Approved" && execution.getVariable('srcrStatus') === "Approved" && execution.getVariable('soscStatus') === "Approved" )
+{
+execution.setVariable("applicationStatus", "Approved");
+}
+else{
+execution.setVariable("applicationStatus", "Rejected");
+}
+
+
+
+
+
+
+
+ var system = java.lang.System;
+system.out.println('soscformURL'+execution.getVariable('formUrl'));
+system.out.println('soscBundleURL'+execution.getVariable('bundleUrl'));
+
+
+
+
+
+
+ var system = java.lang.System;
+system.out.println('cssaformURL'+execution.getVariable('formUrl'));
+system.out.println('cssaBundleURL'+execution.getVariable('bundleUrl'));
+
+
+
+
+
+
+ var system = java.lang.System;
+system.out.println('srcrformURL'+execution.getVariable('formUrl'));
+system.out.println('srcrBundleURL'+execution.getVariable('bundleUrl'));
+
+
+
+
+ ${riskclassification == 'exempt' && isSoscAvailable==false}
+
+
+
+
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+
+
+ ${riskclassification != 'exempt' || isSoscAvailable==true}
+
+
+
+ ${action == 'Recheck'}
+
+
+
+
+
+ execution.setVariable('bundleStatus', "cssaMgrAccepted");
+
+
+
+ ["applicationId", "applicationStatus", "bundleStatus"]
+
+
+
+ ${action == 'Accepted'}
+
+
+
+ Flow_0jxnrvm
+
+
+
+
+
+ cssa_updated
+
+
+ Flow_1i04zkp
+ Flow_17tf2x2
+ Flow_0jxnrvm
+
+
+ Flow_1b2svdy
+ Flow_1m5dyj2
+
+ Flow_15z92rp
+ Flow_17dpj6g
+ Flow_0p3u1yj
+ Flow_0639o7i
var system = java.lang.System;
system.out.println ("Sent to SDM");
-
+
@@ -237,32 +402,21 @@ system.out.println ("Sent to SDM");
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', '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','SRCR Form');
+task.execution.setVariable('subFormName','SoSC Form');
-
+
- Flow_0qaeplv
- Flow_0mtd57d
+ Flow_0639o7i
+ Flow_0yi6pa7
-
- Flow_1jm1bhe
- Flow_0k5l8nk
- Flow_0ryglee
- Flow_1kizv19
-
-
- Flow_0zzhoui
- Flow_0k5l8nk
- Flow_14snpj2
-
-
+
execution.setVariable('applicationStatus', "Resubmit");
@@ -270,50 +424,25 @@ task.execution.setVariable('subFormName','SRCR Form');
- ["applicationId", "applicationStatus", "srcrStatus"]
+ ["applicationId", "applicationStatus"]
- Flow_187pabg
- Flow_1ojyq91
+ Flow_003kmau
+ Flow_17dpj6g
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
-
-
- Flow_0ryglee
- Flow_0izugkb
-
-
- Flow_0q159o1
- Flow_019edzt
- Flow_0xqj2sm
+
+ Flow_0mjgxil
+ Flow_003kmau
+ Flow_1itdpy9
+ Flow_1raj7vr
-
- Flow_0pqd76u
- Flow_00vao62
- Flow_1axts3r
- Flow_1g44pgu
- Flow_1up3td8
- Flow_0c71o5w
- var system = java.lang.System;
-system.out.println ("Begin SRCR Flow - Sent To SRCO");
-system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
-
-
- Flow_1axts3r
-
-
+
+ Flow_1itdpy9
+ Flow_0lf9s8z
+
+
@@ -325,31 +454,34 @@ system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociet
task.execution.setVariable('task_id',task.getId());
-task.execution.setVariableLocal('variable1',"srcr");
+task.execution.setVariableLocal('variable1',"sosc");
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', 'SoSC');
+task.execution.setVariable('soscStatus', 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');
+task.execution.setVariable('deleteReason', "completed");
+task.execution.setVariable('userRole','Caseworker');
+task.execution.setVariable('subFormName','SoSC Form');
+
+
+
-
+
- Flow_0c71o5w
- Flow_0h34vew
+ Flow_0vw0lda
+ Flow_1dc1l9u
-
- Flow_168htzm
- Flow_14snpj2
- Flow_0qz0c7u
- Flow_1ifs52w
+
+ Flow_0es7x0e
+ Flow_15z92rp
+ Flow_0lf9s8z
+ Flow_1p0ezkl
-
+
execution.setVariable('applicationStatus', "Resubmit");
@@ -357,366 +489,603 @@ task.execution.setVariable('subFormName','SRCR Form');
- ["applicationId", "applicationStatus", "srcrStatus"]
+ ["applicationId", "applicationStatus"]
- Flow_1ifs52w
- Flow_00vao62
+ Flow_1p0ezkl
+ Flow_0xixsb5
-
- Flow_0qz0c7u
- Flow_1pdey0j
- Flow_0q159o1
+
+ Flow_1raj7vr
+ Flow_0xixsb5
+ Flow_01dcv2u
+ Flow_0xnsojj
+ 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_01dcv2u
+
+
+ Flow_0xnsojj
+ Flow_0p3u1yj
+ Flow_0vw0lda
-
+
-
-
+
+
+ cssa_subforms_updated
+
- ${isSentFromSociety == false}
+ Flow_0vixcwm
+ Flow_1n9gcsu
+ Flow_11sb4e2
+
+
+ Flow_1dc1l9u
+ Flow_0es7x0e
+ Flow_0vixcwm
+
+
+ Flow_11sb4e2
+
+
+ Flow_0yi6pa7
+ Flow_0mjgxil
+ Flow_1n9gcsu
+
+
+
+
+ execution.setVariable('soscBundleStatus', "soscCaseworkerAccepted");
+
+
+
+ ["applicationId", "applicationStatus", "soscBundleStatus"]
+
+
+
+ ${action == 'Accepted'}
-
+
-
execution.setVariable('applicationStatus', "Resubmitted");
execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('srcrStatus', "Resubmitted");
-execution.setVariable('isSrcrResubmitted', false);
+execution.setVariable('soscStatus', "Resubmitted");
+execution.setVariable('isSoscResubmitted', false);
+
- ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"]
+ ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"]
-
- ${isSentFromSociety == false}
+
+ ${isSentFromSociety == true}
-
-
+
+
- ["applicationId", "applicationStatus", "srcrStatus"]
+ ["applicationId", "applicationStatus", "soscStatus"]
- execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
+ execution.setVariable('soscFormUrl', execution.getVariable('formUrl'));
+
+
+
+
+
+
+ execution.setVariable('isSoscResubmitted', true);
+
+
+
+ ["applicationId", "applicationStatus", "isSoscResubmitted"]
+
+
+ ${action == 'Returned'}
-
+
+
+
+
execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
- ${action == 'Rejected'}
+ ${action == 'Rejected' or action == 'Approved' }
-
+
+
+
+
+
+ ${action == 'Recheck' and isSentFromSociety == false}
+
+
- execution.setVariable('srcrBundleStatus', "srcrCaseworkerAccepted");
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+
+ ${action == 'Rejected'}
+
+
+ ${isSentFromSociety == false}
+
+
+
- ["applicationId", "applicationStatus", "srcrBundleStatus"]
+ ["applicationId", "applicationStatus", "soscStatus"]
+
+ execution.setVariable('soscFormUrl', execution.getVariable('formUrl'));
+
+
+
- ${action == 'Accepted'}
-
-
-
- ${action == 'Recheck'}
-
+
+
- execution.setVariable('isSrcrResubmitted', true);
+ execution.setVariable('isSoscResubmitted', true);
- ["applicationId", "applicationStatus", "isSrcrResubmitted"]
+ ["applicationId", "applicationStatus", "isSoscResubmitted"]
- ${action == 'Returned' }
+ ${action == 'Returned'}
-
+
+
execution.setVariable('applicationStatus', "Resubmitted");
execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('srcrStatus', "Resubmitted");
-execution.setVariable('isSrcrResubmitted', false);
+execution.setVariable('soscStatus', "Resubmitted");
+execution.setVariable('isSoscResubmitted', false);
-
- ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"]
+ ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"]
-
- ${isSentFromSociety == true}
-
-
- ${siteRiskClassification != 'notHighRisk'}
-
-
-
+
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
- execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
+ execution.setVariable('requestStatus', 'New');
+execution.setVariable('requestType', 'SoSC');
+
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+
+
+
+
+
+
+ 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('requestStatus', task.execution.getVariable('action'));
+task.execution.setVariable('requestType', 'CSSA');
+task.execution.setVariable('cssaStatus', 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','CSSA Form');
+
+
+
+
+
+ Flow_130v3rp
+ Flow_04rzv3x
+
+
+
+
+ execution.setVariable('applicationStatus', "Resubmit");
+
+
+
+ ["applicationId", "applicationStatus"]
+
+
+
- ${action == 'Approved' or action == 'Rejected' }
-
-
+ Flow_0ui56bn
+ Flow_1vxydh0
+
+
+ Flow_0xnspeg
+ Flow_0ui56bn
+ Flow_07enxwq
+ Flow_0pqk381
+
+
+ Flow_07enxwq
+ Flow_0yy721o
+
+
-
-
-
-
- execution.setVariable('isSrcrResubmitted', true);
+
+
+ Y
+
+
+ ["pid","applicationId","process_pid","task_id"]
+
+
+
+ task.execution.setVariable('task_id',task.getId());
+task.execution.setVariableLocal('variable1',"cssa");
+
+
+ task.execution.setVariable('requestStatus', task.execution.getVariable('action'));
+task.execution.setVariable('requestType', 'CSSA');
+task.execution.setVariable('cssaStatus', 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','CSSA Form');
+
+
+
+
+
+
+
+
+ Flow_0go33vq
+ Flow_13zl1nd
+
+
+ Flow_16qbig6
+ Flow_0f731f5
+ Flow_0yy721o
+ Flow_1c0kfis
+
+
+
+
+ execution.setVariable('applicationStatus', "Resubmit");
-
+
+
- ["applicationId", "applicationStatus", "isSrcrResubmitted"]
+ ["applicationId", "applicationStatus"]
+
- ${action == 'Returned' }
-
-
+ Flow_1c0kfis
+ Flow_06v4kdf
+
+
+ Flow_18exjmw
+
+
+ Flow_0orrcue
+ Flow_00qi8nk
+ Flow_0go33vq
+
+
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+ execution.setVariable('bundleStatus', "cssaCaseworkerAccepted");
+
+
+
+ ["applicationId", "applicationStatus", "bundleStatus"]
+
- ${action == 'Rejected' }
-
-
- ${siteRiskClassification == 'notHighRisk'}
+ ${action == 'Accepted'}
-
+
-
execution.setVariable('applicationStatus', "Resubmitted");
execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('srcrStatus', "Resubmitted");
-execution.setVariable('isSrcrResubmitted', false);
+execution.setVariable('cssaStatus', "Resubmitted");
+execution.setVariable('isCssaResubmitted', false);
+
- ["applicationId", "applicationStatus", "srcrStatus", "isSrcrResubmitted"]
+ ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
-
+
+ ${isSentFromSociety == true}
+
+
+
+
+
+ ["applicationId", "applicationStatus", "cssaStatus"]
+
+
- execution.setVariable('requestStatus', 'New');
-execution.setVariable('requestType', 'SRCR');
+ execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
+
+
+
+
+
+ execution.setVariable('isCssaResubmitted', true);
+
- ["applicationId", "applicationStatus", "srcrStatus"]
+ ["applicationId", "applicationStatus", "isCssaResubmitted"]
-
- execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
-
+
+ ${action == 'Returned'}
+
+
+
+
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+
+ ${action == 'Rejected' or action == 'Approved' }
-
+
- execution.setVariable('srcrBundleStatus', "srcrSrcoAccepted");
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+
+ ${action == 'Rejected'}
+
+
+ ${isSentFromSociety == false}
+
+
+
- ["applicationId", "applicationStatus", "srcrBundleStatus"]
+ ["applicationId", "applicationStatus", "cssaStatus"]
+
+ execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
+
+
+
- ${action == 'Accepted'}
-
+
- execution.setVariable('isSrcrResubmitted', true);
+ execution.setVariable('isCssaResubmitted', true);
- ["applicationId", "applicationStatus", "isSrcrResubmitted"]
+ ["applicationId", "applicationStatus", "isCssaResubmitted"]
- ${action == 'Returned' }
+ ${action == 'Returned'}
-
+
-
-
+
+
+ cssa_subforms_updated
+
- ${siteRiskClassification != 'notHighRisk' }
-
-
- Flow_1kizv19
- Flow_1g44pgu
- Flow_1q2jho1
-
-
- ${action == 'Recheck' }
-
-
- Flow_1q2jho1
- Flow_05vthw4
- Flow_1up3td8
-
-
- ${siteRiskClassification == 'notHighRisk' }
-
-
-
-
+ Flow_1sbxvgx
+ Flow_0rsx4qs
+ Flow_0jf2e1l
+
+
+
+ Flow_13zl1nd
+ Flow_16qbig6
+ Flow_1sbxvgx
+
+
+
+ Flow_0jf2e1l
+
+
+
+
+ Flow_04rzv3x
+ Flow_0xnspeg
+ Flow_0rsx4qs
+
+
+
+
+
+
+
+
+ execution.setVariable('requestStatus', 'New');
+execution.setVariable('requestType', 'CSSA');
+
- ${isSentFromSociety == true}
-
+
-
-
- cssa_subforms_updated
-
+
+
+ execution.setVariable('applicationStatus', "Resubmitted");
+execution.setVariable('requestStatus', "Resubmitted");
+execution.setVariable('cssaStatus', "Resubmitted");
+execution.setVariable('isCssaResubmitted', false);
+
+
+
+ ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
+
+
+
+
- Flow_0dn9scp
- Flow_0v3xmtu
- Flow_007p6h2
- Flow_1g9gkqq
-
-
-
- Flow_0h34vew
- Flow_168htzm
- Flow_0dn9scp
-
-
-
-
- Flow_1ccbyzk
- Flow_02gyla8
- Flow_0v3xmtu
-
-
-
- Flow_1g9gkqq
-
-
-
-
- Flow_0mtd57d
- Flow_1jm1bhe
- Flow_007p6h2
-
-
+
+
+
+
+
+
+ ${action == 'Recheck' and isSentFromSociety == false}
+
+
+ Flow_18exjmw
+ Flow_06v4kdf
+ Flow_0pqk381
+ Flow_0orrcue
+ var system = java.lang.System;
+system.out.println ("Begin CSSA Flow - Sent To Caseworker");
+execution.setVariable('isCaseworker',false);
+system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
+
-
+
+ Flow_14qx1q0
+
+
-
- task.execution.setVariable('isCssaTeam',false);
-
-
-
- task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
-task.execution.setVariable('deleteReason', "completed");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
+
+
+ cssa_updated
+
- Flow_1tu4hj7
- Flow_1esdw3m
- Flow_0aabyhy
- Flow_0gcqir8
-
-
- Flow_0ohuh4k
- Flow_1xj96i6
- Flow_0527h3y
- Flow_0543g25
- Flow_0wr0mei
- Flow_0d8ioqs
- Flow_0ovj0pk
+ Flow_16ek6dk
+ Flow_1258dam
+ Flow_01zmsuo
+ Flow_14qx1q0
+
+
+ Flow_15f3evi
+ Flow_0kw2jbo
+ Flow_0wxa7vb
+ Flow_1esdw3m
-
+
+ Flow_19ik9s7
+ Flow_15f3evi
+ Flow_1i04zkp
+
+
-
- var system = java.lang.System;
-system.out.println ("form signed");
-
+
+
+ cssa_updated
+
- Flow_1asq9fa
- Flow_16fwgn1
- Flow_0ohuh4k
-
-
+ Flow_0qbjx6e
+ Flow_07eueok
+ Flow_1nowy63
+ Flow_0n61nyr
+
+
+ Flow_08c8ij1
+ Flow_0c90maq
+ Flow_17tf2x2
+
+
+ Flow_0bz8atu
+ Flow_0iubwul
+ Flow_16ek6dk
+
+
+ Flow_0iubwul
+ Flow_19ktqsm
+ Flow_0qbjx6e
+ Flow_1tu4hj7
+ Flow_1ev1kr6
+
+
+ Flow_0itdetv
+ Flow_0gb2oz2
+ Flow_0qw9o9a
+ Flow_0pzpbn7
+
+
+ Flow_0kumbes
+ Flow_12uv3km
+ Flow_0kfjdmp
+
+
- task.execution.setVariable('isAp',false);
+ task.execution.setVariable('isCssaTeam',false);
task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
task.execution.setVariable('deleteReason', "completed");
-task.execution.setVariable('userRole','Contaminated Sites Approved Professional');
+task.execution.setVariable('userRole','CSSA Team');
@@ -725,24 +1094,18 @@ task.execution.setVariable('userRole','Contaminated Sites Approved Professional'
- Flow_142lsgk
- Flow_0pzpbn7
- Flow_0527h3y
- Flow_0b418rv
+ Flow_1quswsc
+ Flow_0gb2oz2
+ Flow_0wr0mei
+ Flow_0lgivc3
+ Flow_0bz8atu
-
+
-
- task.execution.setVariable('isSociety',false);
-
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'));
-task.execution.setVariable('userRole','Contaminated Sites Approved Professionals Society');
+task.execution.setVariable('deleteReason', "completed");
@@ -751,37 +1114,44 @@ task.execution.setVariable('userRole','Contaminated Sites Approved Professionals
- Flow_0kfjdmp
- Flow_0543g25
- Flow_1ev1kr6
- Flow_0d8ruax
+ Flow_1xx7tz6
+ Flow_16fwgn1
-
- Flow_1xj96i6
- Flow_1quswsc
- Flow_142lsgk
+
+ Flow_05pndkl
+ Flow_1asq9fa
+ Flow_1xx7tz6
-
- Flow_1rc30l8
-
-
- 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_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('applicationStatus', "Resubmit");
+execution.setVariable('returnedBy', "cssaTeam");
+
+
+
+
+ ["applicationId", "applicationStatus"]
+
+
+
+
+ Flow_19ktqsm
+ Flow_12uv3km
+ Flow_0qw9o9a
+ Flow_0wxa7vb
+ 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);
@@ -841,38 +1211,59 @@ applicationsrequested.approvalOfBackgroundConcentrations : false) || (certificat
system.out.println ("isSoscAvailable "+isSoscAvailable );
execution.setVariable('isSoscAvailable',isSoscAvailable);
-
+
+ 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
+
+
-
- execution.setVariable('applicationStatus', "Resubmit");
-execution.setVariable('returnedBy', "cssaTeam");
-
-
-
+
+ task.execution.setVariable('isSociety',false);
+
+
+
+ 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'));
+task.execution.setVariable('userRole','Contaminated Sites Approved Professionals Society');
+
+
+
["applicationId", "applicationStatus"]
-
-
+
- Flow_19ktqsm
- Flow_12uv3km
- Flow_0qw9o9a
- Flow_0wxa7vb
- Flow_0b5e332
- Flow_1stifo9
-
-
- Flow_05pndkl
- Flow_1asq9fa
- Flow_1xx7tz6
-
-
+ Flow_0kfjdmp
+ Flow_0543g25
+ Flow_1ev1kr6
+ Flow_0d8ruax
+
+
+
+ task.execution.setVariable('isAp',false);
+
task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
-task.execution.setVariable('deleteReason', "completed");
+task.execution.setVariable('deleteReason', "completed");
+task.execution.setVariable('userRole','Contaminated Sites Approved Professional');
@@ -881,90 +1272,65 @@ task.execution.setVariable('deleteReason', "completed");
- Flow_1xx7tz6
- Flow_16fwgn1
+ Flow_142lsgk
+ Flow_0pzpbn7
+ Flow_0527h3y
+ Flow_0b418rv
-
- Flow_15ccrx0
- Flow_12uv3km
- Flow_0kfjdmp
-
-
- Flow_14lnple
- Flow_0gb2oz2
- Flow_0qw9o9a
- Flow_0pzpbn7
-
-
- Flow_0iubwul
- Flow_19ktqsm
- Flow_0qbjx6e
- Flow_1tu4hj7
- Flow_1ev1kr6
-
-
- Flow_0bz8atu
- Flow_0iubwul
- Flow_16ek6dk
-
-
- Flow_08c8ij1
- Flow_0c90maq
- Flow_17tf2x2
-
-
+
-
-
- cssa_updated
-
+
+ var system = java.lang.System;
+system.out.println ("form signed");
+
- Flow_0qbjx6e
- Flow_07eueok
- Flow_1nowy63
- Flow_1l5jf46
- Flow_17uy5we
- Flow_0n61nyr
-
-
- Flow_19ik9s7
- Flow_15f3evi
- Flow_1i04zkp
-
-
- Flow_15f3evi
- Flow_0kw2jbo
- Flow_0wxa7vb
- Flow_1esdw3m
+ Flow_1asq9fa
+ Flow_16fwgn1
+ Flow_0ohuh4k
+
+
+ Flow_0ohuh4k
+ Flow_1xj96i6
+ Flow_0527h3y
+ Flow_0543g25
+ Flow_0wr0mei
+ Flow_0d8ioqs
+ Flow_0ovj0pk
-
+
-
-
- cssa_updated
-
+
+ task.execution.setVariable('isCssaTeam',false);
+
+
+
+ task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
+task.execution.setVariable('deleteReason', "completed");
+
+
+
+
+ ["applicationId", "applicationStatus"]
+
+
- Flow_16ek6dk
- Flow_1jpuf3f
- Flow_1y34wng
- Flow_1v1g1yh
- Flow_14qx1q0
-
-
- Flow_14qx1q0
-
-
- Flow_1kyum71
- Flow_0fa3idu
-
- Flow_0f731f5
- Flow_1vxydh0
- Flow_00qi8nk
- Flow_130v3rp
+ Flow_1tu4hj7
+ Flow_1esdw3m
+ Flow_0aabyhy
+ Flow_0gcqir8
+
+
+ Flow_0kxmgbn
+ 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");
-
+
@@ -975,51 +1341,128 @@ system.out.println ("Sent to SDM");
- task.execution.setVariable('task_id',task.getId());
+ task.execution.setVariable('task_id',task.getId());
+task.execution.setVariableLocal('variable1',"srcr");
task.execution.setVariable('requestStatus', task.execution.getVariable('action'));
-task.execution.setVariable('requestType', 'CSSA');
-task.execution.setVariable('cssaStatus', 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','CSSA 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
-
+
+ Flow_02gyla8
+ Flow_0zzhoui
+ Flow_1ixkifd
+ Flow_0pqd76u
+ Flow_187pabg
+
+
+ Flow_1ixkifd
+ Flow_0izugkb
+ Flow_0xqj2sm
+ Flow_1pdey0j
+ Flow_0qaeplv
+ var system = java.lang.System;
+system.out.println ("Sent to SDM");
+
+
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
+
+
+ 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', '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','Statutory Decision Maker');
+task.execution.setVariable('subFormName','SRCR Form');
+
+
+
+
+
+ Flow_0qaeplv
+ Flow_0mtd57d
+
+
+ Flow_0zzhoui
+ Flow_14snpj2
+ Flow_0k5l8nk
+
+
+
+
+ execution.setVariable('applicationStatus', "Resubmit");
+
+
- ["applicationId", "applicationStatus"]
+ ["applicationId", "applicationStatus", "srcrStatus"]
- Flow_0ui56bn
- Flow_1vxydh0
+ Flow_187pabg
+ Flow_1ojyq91
-
- Flow_0xnspeg
- Flow_0ui56bn
- Flow_07enxwq
- Flow_0pqk381
+
+
+
+ execution.setVariable('applicationStatus', "Resubmit");
+
+
+
+
+ ["applicationId", "applicationStatus", "srcrStatus"]
+
+
+
+
+ Flow_0ryglee
+ Flow_0izugkb
+
+
+ Flow_0q159o1
+ Flow_019edzt
+ Flow_0xqj2sm
-
- Flow_07enxwq
- Flow_0yy721o
-
-
+
+ Flow_0pqd76u
+ Flow_00vao62
+ Flow_1axts3r
+ Flow_1g44pgu
+ Flow_1up3td8
+ Flow_0c71o5w
+ var system = java.lang.System;
+system.out.println ("Begin SRCR Flow - Sent To SRCO");
+system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
+
+
+ Flow_1axts3r
+
+
@@ -1031,34 +1474,31 @@ task.execution.setVariable('subFormName','CSSA Form');
task.execution.setVariable('task_id',task.getId());
-task.execution.setVariableLocal('variable1',"cssa");
+task.execution.setVariableLocal('variable1',"srcr");
task.execution.setVariable('requestStatus', task.execution.getVariable('action'));
-task.execution.setVariable('requestType', 'CSSA');
-task.execution.setVariable('cssaStatus', 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','CSSA Form');
-
-
-
+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_0go33vq
- Flow_13zl1nd
+ Flow_0c71o5w
+ Flow_0h34vew
-
- Flow_16qbig6
- Flow_0f731f5
- Flow_0yy721o
- Flow_1c0kfis
+
+ Flow_168htzm
+ Flow_14snpj2
+ Flow_0qz0c7u
+ Flow_1ifs52w
-
+
execution.setVariable('applicationStatus', "Resubmit");
@@ -1066,4779 +1506,1887 @@ task.execution.setVariable('subFormName','CSSA Form');
- ["applicationId", "applicationStatus"]
+ ["applicationId", "applicationStatus", "srcrStatus"]
- Flow_1c0kfis
- Flow_06v4kdf
+ Flow_1ifs52w
+ Flow_00vao62
-
- Flow_18exjmw
-
-
- Flow_0orrcue
- Flow_00qi8nk
- Flow_0go33vq
+
+ Flow_0qz0c7u
+ Flow_1pdey0j
+ Flow_0q159o1
-
+
-
- execution.setVariable('bundleStatus', "cssaCaseworkerAccepted");
-
-
-
- ["applicationId", "applicationStatus", "bundleStatus"]
-
-
+
+
- ${action == 'Accepted'}
+ ${isSentFromSociety == false}
-
+
+
execution.setVariable('applicationStatus', "Resubmitted");
execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('cssaStatus', "Resubmitted");
-execution.setVariable('isCssaResubmitted', false);
+execution.setVariable('srcrStatus', "Resubmitted");
+execution.setVariable('isSrcrResubmitted', false);
-
- ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
+ ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"]
-
- ${isSentFromSociety == true}
+
+ ${isSentFromSociety == false}
-
-
+
+
- ["applicationId", "applicationStatus", "cssaStatus"]
+ ["applicationId", "applicationStatus", "srcrStatus"]
- execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
+ execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
+
+
-
+
-
-
-
- execution.setVariable('isCssaResubmitted', true);
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+
+
+ ${action == 'Rejected'}
+
+
+
+
+ execution.setVariable('srcrBundleStatus', "srcrCaseworkerAccepted");
- ["applicationId", "applicationStatus", "isCssaResubmitted"]
+ ["applicationId", "applicationStatus", "srcrBundleStatus"]
- ${action == 'Returned'}
+ ${action == 'Accepted'}
-
+
+
+ ${action == 'Recheck'}
+
+
-
-
+
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+ execution.setVariable('isSrcrResubmitted', true);
+
+
+
+ ["applicationId", "applicationStatus", "isSrcrResubmitted"]
+
- ${action == 'Rejected' or action == 'Approved' }
+ ${action == 'Returned' }
-
+
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
+ execution.setVariable('applicationStatus', "Resubmitted");
+execution.setVariable('requestStatus', "Resubmitted");
+execution.setVariable('srcrStatus', "Resubmitted");
+execution.setVariable('isSrcrResubmitted', false);
+
+
+
+
+ ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"]
+
+
+
- ${action == 'Rejected'}
-
- ${isSentFromSociety == false}
+
+ ${isSentFromSociety == true}
-
+
+ ${siteRiskClassification != 'notHighRisk'}
+
+
+
- ["applicationId", "applicationStatus", "cssaStatus"]
+ ["applicationId", "applicationStatus", "srcrStatus"]
- execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
+ execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
-
-
-
+
-
- execution.setVariable('isCssaResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isCssaResubmitted"]
-
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
- ${action == 'Returned'}
+ ${action == 'Rejected' }
-
-
-
-
- cssa_subforms_updated
-
-
- Flow_1sbxvgx
- Flow_0rsx4qs
- Flow_0jf2e1l
-
-
-
- Flow_13zl1nd
- Flow_16qbig6
- Flow_1sbxvgx
-
-
-
- Flow_0jf2e1l
-
-
-
-
- Flow_04rzv3x
- Flow_0xnspeg
- Flow_0rsx4qs
-
-
-
-
-
-
-
-
- execution.setVariable('requestStatus', 'New');
-execution.setVariable('requestType', 'CSSA');
-
-
-
+
+ ${siteRiskClassification == 'notHighRisk'}
-
+
execution.setVariable('applicationStatus', "Resubmitted");
execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('cssaStatus', "Resubmitted");
-execution.setVariable('isCssaResubmitted', false);
+execution.setVariable('srcrStatus', "Resubmitted");
+execution.setVariable('isSrcrResubmitted', false);
- ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
+ ["applicationId", "applicationStatus", "srcrStatus", "isSrcrResubmitted"]
-
+
-
+
+ execution.setVariable('requestStatus', 'New');
+execution.setVariable('requestType', 'SRCR');
+
- ${action == 'Recheck' and isSentFromSociety == false}
-
- Flow_18exjmw
- Flow_06v4kdf
- Flow_0pqk381
- Flow_0orrcue
- var system = java.lang.System;
-system.out.println ("Begin CSSA Flow - Sent To Caseworker");
-execution.setVariable('isCaseworker',false);
-system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
-
-
-
- Flow_0nkb4yt
- Flow_1m5dyj2
-
- Flow_15z92rp
- Flow_17dpj6g
- Flow_0p3u1yj
- Flow_0639o7i
- 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_0639o7i
- Flow_0yi6pa7
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_003kmau
- Flow_17dpj6g
-
-
- Flow_0mjgxil
- Flow_003kmau
- Flow_1itdpy9
- Flow_1raj7vr
-
-
- Flow_1itdpy9
- Flow_0lf9s8z
-
-
+
+
+
+
-
-
- Y
-
+
- ["pid","applicationId","process_pid","task_id"]
+ ["applicationId", "applicationStatus", "srcrStatus"]
-
-
- 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_0vw0lda
- Flow_1dc1l9u
-
-
- Flow_0es7x0e
- Flow_15z92rp
- Flow_0lf9s8z
- Flow_1p0ezkl
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
- ["applicationId", "applicationStatus"]
-
+
+ execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
-
-
- Flow_1p0ezkl
- Flow_0xixsb5
-
-
- Flow_1raj7vr
- Flow_0xixsb5
- Flow_01dcv2u
- Flow_0xnsojj
- 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_01dcv2u
-
-
- Flow_0xnsojj
- Flow_0p3u1yj
- Flow_0vw0lda
-
-
-
-
-
- cssa_subforms_updated
-
+
+
- Flow_0vixcwm
- Flow_1n9gcsu
- Flow_11sb4e2
-
-
- Flow_1dc1l9u
- Flow_0es7x0e
- Flow_0vixcwm
-
-
- Flow_11sb4e2
-
-
- Flow_0yi6pa7
- Flow_0mjgxil
- Flow_1n9gcsu
-
-
+
+
- execution.setVariable('soscBundleStatus', "soscCaseworkerAccepted");
+ execution.setVariable('srcrBundleStatus', "srcrSrcoAccepted");
- ["applicationId", "applicationStatus", "soscBundleStatus"]
+ ["applicationId", "applicationStatus", "srcrBundleStatus"]
${action == 'Accepted'}
-
+
+
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('soscStatus', "Resubmitted");
-execution.setVariable('isSoscResubmitted', false);
+ execution.setVariable('isSrcrResubmitted', true);
-
- ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"]
+ ["applicationId", "applicationStatus", "isSrcrResubmitted"]
-
-
+ ${action == 'Returned' }
-
- ${isSentFromSociety == true}
-
-
-
-
-
-
- ["applicationId", "applicationStatus", "soscStatus"]
-
-
-
- execution.setVariable('soscFormUrl', execution.getVariable('formUrl'));
-
-
-
-
+
-
-
- execution.setVariable('isSoscResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isSoscResubmitted"]
-
-
- ${action == 'Returned'}
+ ${siteRiskClassification != 'notHighRisk' }
-
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected' or action == 'Approved' }
+
+ Flow_1kizv19
+ Flow_1g44pgu
+ Flow_1q2jho1
+
+
+ Flow_1q2jho1
+ Flow_05vthw4
+ Flow_1up3td8
+
+
+ ${siteRiskClassification == 'notHighRisk' }
-
+
- ${action == 'Recheck' and isSentFromSociety == false}
+ ${isSentFromSociety == true}
-
+
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
+
+
+ cssa_subforms_updated
+
- ${action == 'Rejected'}
-
-
- ${isSentFromSociety == false}
+ Flow_0dn9scp
+ Flow_0v3xmtu
+ Flow_007p6h2
+ Flow_1g9gkqq
+
+
+
+ Flow_0h34vew
+ Flow_168htzm
+ Flow_0dn9scp
+
+
+
+
+ Flow_1ccbyzk
+ Flow_02gyla8
+ Flow_0v3xmtu
+
+
+
+ Flow_1g9gkqq
+
+
+
+ Flow_0mtd57d
+ Flow_007p6h2
+ Flow_1jm1bhe
+
+
+
+ Flow_1jm1bhe
+ Flow_1kizv19
+ Flow_0ryglee
+ Flow_0k5l8nk
+
+
+ ${action == 'Recheck' }
-
+
-
-
- ["applicationId", "applicationStatus", "soscStatus"]
-
-
-
- execution.setVariable('soscFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
- execution.setVariable('isSoscResubmitted', true);
+ execution.setVariable('isSrcrResubmitted', true);
- ["applicationId", "applicationStatus", "isSoscResubmitted"]
+ ["applicationId", "applicationStatus", "isSrcrResubmitted"]
- ${action == 'Returned'}
+ ${action == 'Returned' }
-
+
+
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('soscStatus', "Resubmitted");
-execution.setVariable('isSoscResubmitted', false);
-
-
-
- ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"]
-
-
-
+
-
-
-
-
- execution.setVariable('requestStatus', 'New');
-execution.setVariable('requestType', 'SoSC');
+ execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
+ ${action == 'Approved' or action == 'Rejected' }
-
-
-
-
-
-
-
-
- cssa_updated
-
-
- Flow_1i04zkp
- Flow_17tf2x2
- Flow_0jxnrvm
-
+
+ Flow_0b418rv
+ Flow_0kumbes
+ Flow_01zmsuo
+
+
+ Flow_0d8ruax
+ Flow_0itdetv
+ Flow_1258dam
+
+
+ Flow_0n61nyr
+
- Flow_0g9jpvb
+ Flow_0drs8s9
Flow_1kyum71
Flow_1u3s5mj
Flow_0nkb4yt
-
- Flow_0jxnrvm
-
-
- Flow_0i3fcvy
- Flow_131saby
- Flow_1azn5ag
+
+ Flow_1u3s5mj
+ Flow_0kxmgbn
+ Flow_177eab8
-
- Flow_1azn5ag
- Flow_04qadhc
- Flow_02nvps4
-
-
- Flow_04qadhc
- Flow_01v1a0f
-
- Flow_1lumm7v
- Flow_0rqk8na
- Flow_00s15ao
- Flow_1odhac6
- 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', 'CSSA');
-task.execution.setVariable('cssaStatus', task.execution.getVariable('action'));
-task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
+
+ Flow_0nkb4yt
+ Flow_1b2svdy
+ Flow_0poa227
+
+
+ Flow_0c90maq
+ Flow_0b5e332
+ Flow_1jxxrt6
+ Flow_07eueok
+ Flow_0aabyhy
+
+
+
+
+ task.execution.setVariable('isSdm',false);
+
+
+
+ task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
task.execution.setVariable('deleteReason', "completed");
-task.execution.setVariable('userRole','Statutory Decision Maker');
-task.execution.setVariable('subFormName','CSSA Form');
-
-
-
-
-
- Flow_1odhac6
- Flow_15nyxwz
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_1surrqx
- Flow_0rqk8na
-
-
- Flow_1gd48dj
- Flow_1surrqx
- Flow_1g1rouj
- Flow_0axjodg
-
-
- Flow_1g1rouj
- Flow_1r30rh3
-
-
-
-
-
- Y
-
-
- ["pid","applicationId","process_pid","task_id"]
-
-
-
- task.execution.setVariable('task_id',task.getId());
-task.execution.setVariableLocal('variable1',"cssa");
-
-
- task.execution.setVariable('requestStatus', task.execution.getVariable('action'));
-task.execution.setVariable('requestType', 'CSSA');
-task.execution.setVariable('cssaStatus', task.execution.getVariable('action'));
-task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
+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');
-task.execution.setVariable('subFormName','CSSA Form');
-
-
-
-
-
-
-
-
- Flow_0kko947
- Flow_13jm4kf
-
-
- Flow_1jlvkno
- Flow_1lumm7v
- Flow_1r30rh3
- Flow_0xf5y0k
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_0xf5y0k
- Flow_1uwj5on
-
-
- Flow_06rvauy
-
-
- Flow_1s3el1j
- Flow_00s15ao
- Flow_0kko947
-
-
-
-
-
- cssa_subforms_updated
-
-
- Flow_11hmda7
- Flow_1vjuqup
- Flow_0u4wuii
-
-
- Flow_13jm4kf
- Flow_1jlvkno
- Flow_11hmda7
-
-
- Flow_0u4wuii
-
-
- Flow_15nyxwz
- Flow_1gd48dj
- Flow_1vjuqup
-
-
- Flow_0axjodg
- Flow_1uwj5on
- Flow_06rvauy
- Flow_1s3el1j
- var system = java.lang.System;
-system.out.println ("Begin CSSA Flow - Sent To Caseworker");
+task.execution.setVariable('userRole','Caseworker');
+
+
+
+
+ ["applicationId", "applicationStatus"]
+
+
+
+ Flow_01suxh6
+ Flow_19ik9s7
+
+
+ Flow_0qiqnks
+ Flow_057qs1x
+ Flow_01suxh6
+
+
+ Flow_0d8ioqs
+ Flow_1jxxrt6
+ Flow_0i3fcvy
+ Flow_0qiqnks
+ var system = java.lang.System;
+system.out.println ("Begin CSSA Individual Flow - Sent To Caseworker");
execution.setVariable('isCaseworker',false);
system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
-
-
-
-
- execution.setVariable('bundleStatus', "cssaCaseworkerAccepted");
-
-
-
- ["applicationId", "applicationStatus", "bundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('cssaStatus', "Resubmitted");
-execution.setVariable('isCssaResubmitted', false);
-
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
-
-
-
-
-
-
-
- ${isSentFromSociety == true}
-
-
-
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus"]
-
-
-
- execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
- execution.setVariable('isCssaResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isCssaResubmitted"]
-
-
-
- ${action == 'Returned'}
-
-
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected' or action == 'Approved' }
-
-
-
-
-
-
- ${action == 'Recheck' and isSentFromSociety == false}
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected'}
-
-
- ${isSentFromSociety == false}
-
-
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus"]
-
-
-
- execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
-
- execution.setVariable('isCssaResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isCssaResubmitted"]
-
-
-
- ${action == 'Returned'}
-
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('cssaStatus', "Resubmitted");
-execution.setVariable('isCssaResubmitted', false);
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
-
-
-
-
-
-
-
-
-
- execution.setVariable('requestStatus', 'New');
-execution.setVariable('requestType', 'CSSA');
-
-
-
-
-
-
-
-
-
-
- Flow_02nvps4
- Flow_147keeo
-
- Flow_0ly2cyz
- Flow_0niwre0
- Flow_1nl5ipm
- Flow_0f4x52g
- var system = java.lang.System;
+
+
+ Flow_0kw2jbo
+ Flow_057qs1x
+ Flow_0ovj0pk
+ Flow_07vh0na
+ 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_0f4x52g
- Flow_0ut0zi1
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_0ux2vew
- Flow_0niwre0
-
-
- Flow_0of98ac
- Flow_0ux2vew
- Flow_1aeuu2q
- Flow_1cqow89
-
-
- Flow_1aeuu2q
- Flow_1qqnzvx
-
-
-
-
-
- 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_026ykts
+ Flow_0drs8s9
+ Flow_0i3fcvy
+
+
+
+ Flow_02ysv7t
+ Flow_026ykts
+ var system = java.lang.System;
+var selectCssaSdm= execution.getVariable('selectCssaSdm');
+system.out.println ("selectCssaSdm"+selectCssaSdm);
+execution.setVariable('cssaSdmAssignment',selectCssaSdm);
+system.out.println ("cssaSdmAssignment"+execution.getVariable('cssaSdmAssignment'));
+var selectCssaCaseworker= execution.getVariable('selectCssaCaseworker');
+system.out.println ("selectCssaCaseworker"+selectCssaCaseworker);
+execution.setVariable('cssaCaseworkerAssignment',selectCssaCaseworker);
+system.out.println ("cssaCaseworkerAssignment"+execution.getVariable('cssaCaseworkerAssignment'));
-
-
-
-
-
-
- Flow_0b48ica
- Flow_02bhjf4
-
-
- Flow_0uqrlo1
- Flow_0ly2cyz
- Flow_1qqnzvx
- Flow_1c5adbp
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_1c5adbp
- Flow_0cd2y9a
-
-
- Flow_1cqow89
- Flow_0cd2y9a
- Flow_08ue3be
- Flow_027qwvp
- 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_08ue3be
-
-
- Flow_027qwvp
- Flow_1nl5ipm
- Flow_0b48ica
-
-
-
-
-
- cssa_subforms_updated
-
-
- Flow_1tw25qi
- Flow_1wmn6pm
- Flow_09ntkx7
-
-
- Flow_02bhjf4
- Flow_0uqrlo1
- Flow_1tw25qi
-
-
- Flow_09ntkx7
-
-
- Flow_0ut0zi1
- Flow_0of98ac
- Flow_1wmn6pm
-
-
-
-
- execution.setVariable('soscBundleStatus', "soscCaseworkerAccepted");
-
-
-
- ["applicationId", "applicationStatus", "soscBundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('soscStatus', "Resubmitted");
-execution.setVariable('isSoscResubmitted', false);
-
-
-
-
- ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"]
-
-
-
-
-
-
-
- ${isSentFromSociety == true}
-
-
-
-
-
-
- ["applicationId", "applicationStatus", "soscStatus"]
-
-
-
- execution.setVariable('soscFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
- execution.setVariable('isSoscResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isSoscResubmitted"]
-
-
-
- ${action == 'Returned'}
-
-
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected' or action == 'Approved' }
-
-
-
-
-
-
- ${action == 'Recheck' and isSentFromSociety == false}
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected'}
-
-
- ${isSentFromSociety == false}
-
-
-
-
-
- ["applicationId", "applicationStatus", "soscStatus"]
-
-
-
- execution.setVariable('soscFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
-
- execution.setVariable('isSoscResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isSoscResubmitted"]
-
-
-
- ${action == 'Returned'}
-
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('soscStatus', "Resubmitted");
-execution.setVariable('isSoscResubmitted', false);
-
-
-
- ["applicationId", "applicationStatus", "soscStatus","isSoscResubmitted"]
-
-
-
-
-
-
-
-
-
- execution.setVariable('requestStatus', 'New');
-execution.setVariable('requestType', 'SoSC');
-
-
-
-
-
-
-
-
-
-
- Flow_01v1a0f
- Flow_147keeo
- Flow_1l5jf46
-
-
- Flow_0n61nyr
-
-
- Flow_1b7b7vp
- Flow_1j9qdt7
-
- Flow_01dljge
- Flow_1inicnb
- Flow_00llqqu
- Flow_10vct33
- 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', 'CSSA');
-task.execution.setVariable('cssaStatus', 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','CSSA Form');
-
-
-
-
-
- Flow_10vct33
- Flow_1orl3n2
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_0y6yjq4
- Flow_1inicnb
-
-
- Flow_0gcxxyc
- Flow_0y6yjq4
- Flow_1x8qn14
- Flow_18f4dcj
-
-
- Flow_1x8qn14
- Flow_1huo0lg
-
-
-
-
-
- Y
-
-
- ["pid","applicationId","process_pid","task_id"]
-
-
-
- task.execution.setVariable('task_id',task.getId());
-task.execution.setVariableLocal('variable1',"cssa");
-
-
- task.execution.setVariable('requestStatus', task.execution.getVariable('action'));
-task.execution.setVariable('requestType', 'CSSA');
-task.execution.setVariable('cssaStatus', 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','CSSA Form');
+var selectSoscSdm= execution.getVariable('selectSoscSdm');
+system.out.println ("selectSoscSdm"+selectSoscSdm);
+execution.setVariable('soscSdmAssignment',selectSoscSdm);
+system.out.println ("soscSdmAssignment"+execution.getVariable('soscSdmAssignment'));
+var selectSoscCaseworker= execution.getVariable('selectSoscCaseworker');
+system.out.println ("selectSoscCaseworker"+selectSoscCaseworker);
+execution.setVariable('soscCaseworkerAssignment',selectSoscCaseworker);
+system.out.println ("soscCaseworkerAssignment"+execution.getVariable('soscCaseworkerAssignment'));
-
-
-
-
-
-
- Flow_1385q2s
- Flow_0hla21j
-
-
- Flow_1u5ar4j
- Flow_01dljge
- Flow_1huo0lg
- Flow_08vhe64
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
- Flow_08vhe64
- Flow_0j3ub9c
-
-
- Flow_15qwrqx
-
-
- Flow_1mlkd5t
- Flow_00llqqu
- Flow_1385q2s
-
-
-
-
-
- cssa_subforms_updated
-
-
- Flow_1ldt3wq
- Flow_1gathh9
- Flow_0vsb9eb
-
-
- Flow_0hla21j
- Flow_1u5ar4j
- Flow_1ldt3wq
-
-
- Flow_0vsb9eb
-
-
- Flow_1orl3n2
- Flow_0gcxxyc
- Flow_1gathh9
-
-
- Flow_18f4dcj
- Flow_0j3ub9c
- Flow_15qwrqx
- Flow_1mlkd5t
- var system = java.lang.System;
-system.out.println ("Begin CSSA Flow - Sent To Caseworker");
-execution.setVariable('isCaseworker',false);
-system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
-
-
-
-
- execution.setVariable('bundleStatus', "cssaCaseworkerAccepted");
-
-
-
- ["applicationId", "applicationStatus", "bundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('cssaStatus', "Resubmitted");
-execution.setVariable('isCssaResubmitted', false);
-
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
-
-
-
-
-
-
-
- ${isSentFromSociety == true}
-
-
-
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus"]
-
-
-
- execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
- execution.setVariable('isCssaResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isCssaResubmitted"]
-
-
-
- ${action == 'Returned'}
-
-
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected' or action == 'Approved' }
-
-
-
-
-
-
- ${action == 'Recheck' and isSentFromSociety == false}
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected'}
-
-
- ${isSentFromSociety == false}
-
-
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus"]
-
-
-
- execution.setVariable('cssaFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
-
- execution.setVariable('isCssaResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isCssaResubmitted"]
-
-
-
- ${action == 'Returned'}
-
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('cssaStatus', "Resubmitted");
-execution.setVariable('isCssaResubmitted', false);
-
-
-
- ["applicationId", "applicationStatus", "cssaStatus","isCssaResubmitted"]
-
-
-
-
-
-
-
-
-
- execution.setVariable('requestStatus', 'New');
-execution.setVariable('requestType', 'CSSA');
-
-
-
-
-
-
-
-
-
-
- Flow_1r9sgs4
- Flow_1x22wup
-
- Flow_03yoy3w
- Flow_0il3vmv
- Flow_05wlevd
- Flow_0are22b
- 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('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');
-
-
-
-
-
-
- Flow_0are22b
- Flow_07l3syo
-
-
- Flow_0an51l4
- Flow_1fu9yzy
- Flow_1snhou2
- Flow_1ndkwtp
- Flow_1h0m3i7
-
-
- Flow_1snhou2
- Flow_0xfqt3y
- Flow_1vdz37b
- Flow_01epz2i
- Flow_16pxdg9
- 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', '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','Statutory Decision Maker');
-task.execution.setVariable('subFormName','SRCR Form');
-
-
-
-
-
- Flow_16pxdg9
- Flow_0ftakdr
-
-
- Flow_1yzlrk5
- Flow_1w63bha
- Flow_1xo2d1y
- Flow_0k8zbtn
-
-
- Flow_1fu9yzy
- Flow_1w63bha
- Flow_057mgr6
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
-
-
- Flow_1h0m3i7
- Flow_0il3vmv
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
-
-
- Flow_1xo2d1y
- Flow_0xfqt3y
-
-
- Flow_1quxcj1
- Flow_05wlevd
- Flow_1vdz37b
-
-
- Flow_1ndkwtp
- Flow_13fkd7i
- Flow_18uiwvj
- Flow_0qth6vy
- Flow_1j7p3z3
- Flow_10q9ixt
- var system = java.lang.System;
-system.out.println ("Begin SRCR Flow - Sent To SRCO");
-system.out.println ("isSentFromSociety "+execution.getVariable('isSentFromSociety'));
-
-
- Flow_18uiwvj
-
-
-
-
-
- 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_10q9ixt
- Flow_1jv9mjo
-
-
- Flow_099g99i
- Flow_057mgr6
- Flow_1m3u6g8
- Flow_0ubwm3f
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmit");
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
-
-
- Flow_0ubwm3f
- Flow_13fkd7i
-
-
- Flow_1m3u6g8
- Flow_01epz2i
- Flow_1quxcj1
-
-
- Flow_0k8zbtn
- Flow_0qth6vy
- Flow_06l4mcj
-
-
- Flow_06l4mcj
- Flow_03yoy3w
- Flow_1j7p3z3
-
-
-
-
-
- cssa_subforms_updated
-
-
- Flow_1f5nol9
- Flow_07t1o4f
- Flow_04demhb
- Flow_1fnm4v9
-
-
- Flow_1jv9mjo
- Flow_099g99i
- Flow_1f5nol9
-
-
- Flow_07l3syo
- Flow_0an51l4
- Flow_07t1o4f
-
-
- Flow_1fnm4v9
-
-
- Flow_0ftakdr
- Flow_1yzlrk5
- Flow_04demhb
-
-
-
-
-
-
- ${isSentFromSociety == false}
-
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('srcrStatus', "Resubmitted");
-execution.setVariable('isSrcrResubmitted', false);
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"]
-
-
-
-
-
-
-
- ${isSentFromSociety == false}
-
-
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
-
- execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Rejected'}
-
-
-
-
- execution.setVariable('srcrBundleStatus', "srcrCaseworkerAccepted");
-
-
-
- ["applicationId", "applicationStatus", "srcrBundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
- ${action == 'Recheck'}
-
-
-
-
-
- execution.setVariable('isSrcrResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isSrcrResubmitted"]
-
-
-
- ${action == 'Returned' }
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-execution.setVariable('requestStatus', "Resubmitted");
-execution.setVariable('srcrStatus', "Resubmitted");
-execution.setVariable('isSrcrResubmitted', false);
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus","isSrcrResubmitted"]
-
-
-
-
-
-
-
- ${isSentFromSociety == true}
-
-
- ${siteRiskClassification != 'notHighRisk'}
-
-
-
-
-
-
- ["applicationId", "applicationStatus", "srcrStatus"]
-
-
-
- execution.setVariable('srcrFormUrl', execution.getVariable('formUrl'));
-
-
-
-
-
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${action == 'Approved' or action == 'Rejected' }
-
-
-
-
-
-
-
- execution.setVariable('isSrcrResubmitted', true);
-
-
-
- ["applicationId", "applicationStatus", "isSrcrResubmitted"]
-
-
-
- ${action == 'Returned' }
-
-
- ${action == 'Recheck' }
-
-
-
-
- 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');
-
-
-
-
-
-
-
-
-
- ${siteRiskClassification != 'notHighRisk' }
-
-
-
-
-
-
- ${isSentFromSociety == true}
-
-
-
-
-
-
- ["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' }
-
-
-
-
-
-
-
-
-
-
-
- execution.setVariable('bundleStatus', "cssaMgrAccepted");
-
-
-
- ["applicationId", "applicationStatus", "bundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
- ${action == 'Recheck'}
-
-
-
- ${riskclassification == 'exempt'}
-
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-
-
- ${riskclassification != 'exempt'}
-
-
-
-
-
-
-
- execution.setVariable('formUrl', execution.getVariable('cssaFormUrl'));
-
-
-
- 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('cssaStatus') === "Approved" && execution.getVariable('srcrStatus') === "Approved" && execution.getVariable('soscStatus') === "Approved" )
-{
-execution.setVariable("applicationStatus", "Approved");
-}
-else{
-execution.setVariable("applicationStatus", "Rejected");
-}
-
-
-
-
-
- ${applicationStatus== 'Resubmitted' and isSdm== true}
-
-
- ${isSentFromSociety == true}
-
-
-
-
- execution.setVariable('bundleStatus', "cssaCaseworkerAccepted");
-
-
-
- ["applicationId", "applicationStatus", "bundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
-
- ${applicationStatus== 'Resubmitted' and isCaseworker== true}
-
-
- ${action == 'Recheck' and isSentFromSociety == false}
-
-
- ${isSoscAvailable==false}
-
-
-
- ${isSentFromSociety == false}
-
-
-
-
-
-
-
- execution.setVariable('isSdm',true);
-
-
- ${action == 'Returned'}
-
-
- ${action == 'Recheck' and isSentFromSociety == true}
-
-
- ${action == 'Rejected' or action == 'Approved' }
-
-
- ${isSoscAvailable==true}
-
-
- ${isSoscAvailable==false}
-
-
-
-
-
-
-
- execution.setVariable('bundleStatus', "cssaTeamAccepted");
-
-
-
- ["applicationId", "applicationStatus", "bundleStatus"]
-
-
-
- ${action == 'Accepted'}
-
-
- ${action == 'Recheck'}
-
-
-
- ${applicationStatus== 'Resubmitted' and isCssaTeam== true}
-
-
- ${applicationStatus== 'Resubmitted' and isSociety== true}
-
-
- ${applicationStatus== 'Resubmitted' and isAp== true}
-
-
- ${applicationStatus!= 'Resubmitted'}
-
-
-
- ${applicationStatus== 'Signed'}
-
-
- ${owneroperatorradioGroup=='sameAsApplicant'}
-
-
-
- ${typeOfReview!= 'directToMinistryApplication'}
-
-
- ${action == 'Recheck'}
-
-
-
-
- ${action == 'Accepted'}
-
-
- ${action == 'Recheck'}
-
-
-
-
-
- var system = java.lang.System;
-execution.setVariable('isSentFromSociety',false);
-system.out.println ("isSentFromSociety "+ execution.getVariable('isSentFromSociety'));
-
-
- ${typeOfReview== 'directToMinistryApplication'}
-
-
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
-
-
-
-
-
-
- execution.setVariable('applicationStatus', "Resubmitted");
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
-
-
-
-
-
-
- execution.setVariable('isCaseworker',true);
-
-
- ${action == 'Returned'}
-
-
-
-
- execution.setVariable('isCssaTeam',true);
-
-
- ${action == 'Returned'}
-
-
-
-
- execution.setVariable('isAp',true);
-
-
- ${action == 'Returned'}
-
-
-
-
- execution.setVariable('isSociety',true);
-
-
- ${action == 'Returned'}
-
-
-
-
- var system = java.lang.System;
-system.out.println ("site owner flow");
-
-
- ${owneroperatorradioGroup=='different'}
-
-
-
- ${action == 'Accepted'}
-
-
-
-
-
-
- ${action == 'Rejected'}
-
-
-
-
-
-
- execution.setVariable('formUrl', execution.getVariable('cssaFormUrl'));
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-execution.setVariable('formUrl', execution.getVariable('soscFormUrl'));
-
-
-
- if (execution.getVariable('cssaStatus') === "Approved" && execution.getVariable('soscStatus') === "Approved" )
-{
-execution.setVariable("applicationStatus", "Approved");
-}
-else{
-execution.setVariable("applicationStatus", "Rejected");
-}
-
-
-
-
-
-
-
-
-
-
-
-
- ${isSoscAvailable==true}
-
-
-
-
-
-
- Flow_1j9qdt7
- Flow_1x22wup
- Flow_17uy5we
-
-
-
-
-
-
- execution.setVariable('formUrl', execution.getVariable('cssaFormUrl'));
-
-
-
- execution.setVariable('bundleUrl', execution.getVariable('formUrl'));
-execution.setVariable('formUrl', execution.getVariable('srcrFormUrl'));
-
-
-
- if (execution.getVariable('cssaStatus') === "Approved" && execution.getVariable('srcrStatus') === "Approved" )
-{
-execution.setVariable("applicationStatus", "Approved");
-}
-else{
-execution.setVariable("applicationStatus", "Rejected");
-}
-
-
-
-
-
-
- Flow_0b418rv
- Flow_15ccrx0
- Flow_1jpuf3f
-
-
-
-
- Flow_0d8ruax
- Flow_14lnple
- Flow_1y34wng
-
-
-
-
-
- task.execution.setVariable('isCssaTeam',false);
-
-
-
- task.execution.setVariable('applicationStatus', task.execution.getVariable('action'));
-task.execution.setVariable('deleteReason', "completed");
-task.execution.setVariable('userRole','CSSA Team');
-
-
-
-
- ["applicationId", "applicationStatus"]
-
-
-
- Flow_1quswsc
- Flow_0gb2oz2
- Flow_0wr0mei
- Flow_0lgivc3
- Flow_0bz8atu
-
-
-
- Flow_02ysv7t
- Flow_026ykts
- var system = java.lang.System;
-var selectCssaSdm= execution.getVariable('selectCssaSdm');
-system.out.println ("selectCssaSdm"+selectCssaSdm);
-execution.setVariable('cssaSdmAssignment',selectCssaSdm);
-system.out.println ("cssaSdmAssignment"+execution.getVariable('cssaSdmAssignment'));
-
-var selectCssaCaseworker= execution.getVariable('selectCssaCaseworker');
-system.out.println ("selectCssaCaseworker"+selectCssaCaseworker);
-execution.setVariable('cssaCaseworkerAssignment',selectCssaCaseworker);
-system.out.println ("cssaCaseworkerAssignment"+execution.getVariable('cssaCaseworkerAssignment'));
-
-var selectSoscSdm= execution.getVariable('selectSoscSdm');
-system.out.println ("selectSoscSdm"+selectSoscSdm);
-execution.setVariable('soscSdmAssignment',selectSoscSdm);
-system.out.println ("soscSdmAssignment"+execution.getVariable('soscSdmAssignment'));
-
-var selectSoscCaseworker= execution.getVariable('selectSoscCaseworker');
-system.out.println ("selectSoscCaseworker"+selectSoscCaseworker);
-execution.setVariable('soscCaseworkerAssignment',selectSoscCaseworker);
-system.out.println ("soscCaseworkerAssignment"+execution.getVariable('soscCaseworkerAssignment'));
-
-var selectSoscSdm= execution.getVariable('selectSoscSdm');
-system.out.println ("selectSoscSdm"+selectSoscSdm);
-execution.setVariable('soscSdmAssignment',selectSoscSdm);
-system.out.println ("soscSdmAssignment"+execution.getVariable('soscSdmAssignment'));
-
-var selectSoscCaseworker= execution.getVariable('selectSoscCaseworker');
-system.out.println ("selectSoscCaseworker"+selectSoscCaseworker);
-execution.setVariable('soscCaseworkerAssignment',selectSoscCaseworker);
-system.out.println ("soscCaseworkerAssignment"+execution.getVariable('soscCaseworkerAssignment'));
-
-var selectSdm= execution.getVariable('selectSdm');
-system.out.println ("selectSdm"+selectSdm);
-execution.setVariable('sdmAssignment',selectSdm);
-system.out.println ("sdmAssignment"+execution.getVariable('sdmAssignment'));
-
-var selectCaseworker= execution.getVariable('selectCaseworker');
-system.out.println ("selectCaseworker"+selectCaseworker);
-execution.setVariable('caseworkerAssignment',selectCaseworker);
-system.out.println ("caseworkerAssignment"+execution.getVariable('caseworkerAssignment'));
-
-var selectSrco= execution.getVariable('selectSrco');
-system.out.println ("selectSrco"+selectSrco);
-execution.setVariable('srcoAssignment',selectSrco);
-system.out.println ("srcoAssignment"+execution.getVariable('srcoAssignment'));
-
-
- Flow_05ryhsf
- Flow_02ysv7t
- Flow_0lgivc3
-
-
-
- Flow_0gcqir8
- Flow_05ryhsf
- Flow_1v1g1yh
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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selectSdm= execution.getVariable('selectSdm');
+system.out.println ("selectSdm"+selectSdm);
+execution.setVariable('sdmAssignment',selectSdm);
+system.out.println ("sdmAssignment"+execution.getVariable('sdmAssignment'));
+
+var selectCaseworker= execution.getVariable('selectCaseworker');
+system.out.println ("selectCaseworker"+selectCaseworker);
+execution.setVariable('caseworkerAssignment',selectCaseworker);
+system.out.println ("caseworkerAssignment"+execution.getVariable('caseworkerAssignment'));
+
+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
+
+
+
+
+ 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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
-
-
+
+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