Section contains description of Process " CalculateBonita.process " .
Name: Start
Description: Start of process with InputParameters structure
Input Parameters:
Name: End
Output Parameters:
Mapping table
Target | Source |
---|---|
/Bonita | $Schema0/Bonita + (if(( $Start/InputParameters/Problem = 1) and ($Schema0/Bonita > 0))then -1 else 0) + (if($Start/InputParameters/Value >= 1000000)then floor($Start/InputParameters/Value div 1000000) else 0) |
Mapping tree
Mapping |
---|
Bonita = $Schema0/Bonita + (if(( $Start/InputParameters/Problem = 1) and ($Schema0/Bonita > 0))then -1 else 0) + (if($Start/InputParameters/Value >= 1000000)then floor($Start/InputParameters/Value div 1000000) else 0) |
Source code
Mapping |
---|
<Bonita 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="$Schema0/Bonita +
(if(( $Start/InputParameters/Problem = 1) and ($Schema0/Bonita > 0))then -1 else 0)
+
(if($Start/InputParameters/Value >= 1000000)then floor($Start/InputParameters/Value div 1000000) else 0)"/> </Bonita> |
Mapping table
Target | Source |
---|---|
/Bonita | if($Start/InputParameters/MonthIncrement < 10000) then 0 else if((($Start/InputParameters/RealtyValue * 0.7)< (-$Start/InputParameters/Value))and (((-$Start/InputParameters/Value) + $Start/InputParameters/Loan)> 300000))then 0 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 7000) then 0 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 15000) then 1 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 30000) then 2 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 100000) then 3 else 4 |
Mapping tree
Mapping |
---|
Bonita = if($Start/InputParameters/MonthIncrement < 10000) then 0 else if((($Start/InputParameters/RealtyValue * 0.7)< (-$Start/InputParameters/Value))and (((-$Start/InputParameters/Value) + $Start/InputParameters/Loan)> 300000))then 0 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 7000) then 0 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 15000) then 1 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 30000) then 2 else if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 100000) then 3 else 4 |
Source code
Mapping |
---|
<Bonita 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/MonthIncrement < 10000) then 0 else
if((($Start/InputParameters/RealtyValue * 0.7)< (-$Start/InputParameters/Value))and
 (((-$Start/InputParameters/Value) + $Start/InputParameters/Loan)> 300000))then 0 else 
if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 7000) then 0 else
if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 15000) then 1 else
if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 30000) then 2 else
if($Start/InputParameters/MonthIncrement - $Start/InputParameters/Refund < 100000) then 3 else 4"/> </Bonita> |