CalculateBonita

Section contains description of Process " CalculateBonita.process " .

Folder description:

Folder Description
  No description

Process description:

Calculate pretender's bonita

Process definition:

Full process path: ProcessDefinitions/CalculateBonita/CalculateBonita.process

Diagram:

Start End Assign Bonita From: Start To: Assign Bonita From: Assign Bonita To: End

Process starter activity:

Name: Start

Description: Start of process with InputParameters structure

Input Parameters:

  • + InputParameters (Complex Type, required )
    • - MonthIncrement(xsd:long,required)
    • - Value(xsd:long,required)
    • - RealtyValue(xsd:long,required)
    • - Problem(xsd:boolean,required)
    • - Loan(xsd:long,required)
    • - Refund(xsd:long,required)

Process end activity:

Name: End

Output Parameters:

  • - Bonita(xsd:long,required)
Return bindings:
  • 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

  • Source code

Process variables:

Schema: Schema0

  • - Bonita(xsd:long,required)

Activities:

Name: Assign Bonita

  • Type: com.tibco.pe.core.AssignActivity
  • Resource Type: ae.activities.assignActivity
  • Description: Bonita calculation
  • Configuration:
    • variableName = Schema0
  • Input bindings:
    • 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

    • Source code

Transitions:

  • From: Assign Bonita -To: End
    • Label:
    • Condition: Success
    • Description:
  • From: Start -To: Assign Bonita
    • Label:
    • Condition: Success
    • Description: