Section contains description of Process " Examination.process " .
Folder | Description |
---|---|
GrantingCredit | The application Granting credit provides resolution whether a credit (or mortgage) can be granded to a user. Information about user is the input of the application. |
/ProcessDefinitions | All process definitions |
/ProcessDefinitions/Examination | Processes for result examination about GrantingCredit |
Name: Start
Description:
Input Parameters:
Name: End
Output Parameters:
Mapping table
Target | Source |
---|---|
/ExaminationResult/State | if(($GetMinRefund-JavaCode/javaCodeActivityOutput/MinRefund <= $Start/InputParameters/Refund) and ($Schema0/Interest > 0))then 1 else 0 |
/ExaminationResult/Interest | $Schema0/Interest |
Mapping tree
Mapping |
---|
ExaminationResult State = if(($GetMinRefund-JavaCode/javaCodeActivityOutput/MinRefund <= $Start/InputParameters/Refund) and ($Schema0/Interest > 0))then 1 else 0 Interest = $Schema0/Interest |
Source code
Mapping |
---|
<ExaminationResult xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <State> <xsl:value-of select="if(($GetMinRefund-JavaCode/javaCodeActivityOutput/MinRefund <= $Start/InputParameters/Refund) and ($Schema0/Interest > 0))then 1 else 0"/> </State> <Interest> <xsl:value-of select="$Schema0/Interest"/> </Interest> </ExaminationResult> |
Mapping table
Target | Source |
---|---|
/javaCodeActivityInput/Years | 20 |
/javaCodeActivityInput/Interest | $Schema0/Interest * 0.01 |
/javaCodeActivityInput/Value | $Start/InputParameters/Value |
Mapping tree
Mapping |
---|
javaCodeActivityInput Years = 20 Interest = $Schema0/Interest * 0.01 Value = $Start/InputParameters/Value |
Source code
Mapping |
---|
<javaCodeActivityInput xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Years> <xsl:value-of select="20"/> </Years> <Interest> <xsl:value-of select="$Schema0/Interest * 0.01"/> </Interest> <Value> <xsl:value-of select="$Start/InputParameters/Value"/> </Value> </javaCodeActivityInput> |
Mapping table
Target | Source |
---|---|
/Interest | if($Start/InputParameters/Bonita >= 4) then 3 else if($Start/InputParameters/Bonita >= 3) then 3.5 else if($Start/InputParameters/Bonita >= 2) then 4 else if($Start/InputParameters/Bonita >= 1) then 4.5 else 0 |
Mapping tree
Mapping |
---|
Interest = if($Start/InputParameters/Bonita >= 4) then 3 else if($Start/InputParameters/Bonita >= 3) then 3.5 else if($Start/InputParameters/Bonita >= 2) then 4 else if($Start/InputParameters/Bonita >= 1) then 4.5 else 0 |
Source code
Mapping |
---|
<Interest xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsl:value-of select="if($Start/InputParameters/Bonita >= 4) then 3 else
if($Start/InputParameters/Bonita >= 3) then 3.5 else
if($Start/InputParameters/Bonita >= 2) then 4 else
if($Start/InputParameters/Bonita >= 1) then 4.5 else 0"/> </Interest> |
Mapping table
Target | Source |
---|---|
/jdbcUpdateActivityInput/interest | $Schema0/Interest |
/jdbcUpdateActivityInput/customer_id | $Start/InputParameters/ID |
Mapping tree
Mapping |
---|
jdbcUpdateActivityInput interest = $Schema0/Interest customer_id = $Start/InputParameters/ID |
Source code
Mapping |
---|
<jdbcUpdateActivityInput xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <interest> <xsl:value-of select="$Schema0/Interest"/> </interest> <customer_id> <xsl:value-of select="$Start/InputParameters/ID"/> </customer_id> </jdbcUpdateActivityInput> |