30.12.2014 Views

Camunda-BPM-Loan-Assessment-Process-Lab-v1.0

Camunda-BPM-Loan-Assessment-Process-Lab-v1.0

Camunda-BPM-Loan-Assessment-Process-Lab-v1.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Camunda</strong> <strong>BPM</strong> Platform 2014<br />

}<br />

execution.setVariable ("Comment_on_Status", "Revision Needed");<br />

Application_Identifier = execution.getVariable ("<strong>Process</strong>InstanceId");<br />

execution.setVariable ("Application_Identifier",<br />

Application_Identifier);<br />

execution.setVariable ("Application_Submission_Date", (new Date<br />

()).format("dd/MM/yyyy"));<br />

execution.setVariable ("Application_Revision_Date", (new Date<br />

()).format("dd/MM/yyyy"));<br />

Step 6<br />

Add an Exor split gateway with the following Listener expression:<br />

${Application_Status=='complete'} or ${Application_Status=='incomplete'} (for routing<br />

appropriately).<br />

For ‘Update <strong>Loan</strong> Application’ user task sequence flow; assign the flow condition:<br />

${Application_Status=='complete'}<br />

For ‘Check Credit History’ user task sequence flow; assign the flow condition:<br />

${Application_Status=='incomplete'}<br />

34

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!