SendApprRequest

Section contains description of Process " SendApprRequest.process " .

Folder description:

Folder Description
  No description

Process description:

send BE request for appraisal to bank service

Process definition:

Full process path: pawn/SendApprRequest.process

Diagram:

CreditReqReceiver End SendAppraisalReq From: SendAppraisalReq To: End From: CreditReqReceiver To: SendAppraisalReq From: CreditReqReceiver To: End

Process starter activity:

Name: CreditReqReceiver

  • Property Name: CreditReqReceiver
    • Type: com.tibco.plugin.jms.JMSQueueEventSource
    • Resource Type: ae.activities.JMSQueueEventSource
    • Description:
    • Configuration:
      • PermittedMessageType = XML Text
      • SessionAttributes
        • transacted = false
        • acknowledgeMode = 1 (Auto)
        • maxSessions = 1
        • destination = %%ENV%%.%%QueueCreditReq%%
      • ConfigurableHeaders
        • JMSDeliveryMode = PERSISTENT
        • JMSExpiration = 0
        • JMSPriority = 4
      • ConnectionReference = /SharedJMSResources/JMSConn.sharedjmscon
      • ApplicationProperties =
      • OutDataxsdString

Process end activity:

Name: End

Activities:

Name: SendAppraisalReq

  • Type: com.tibco.be.bw.plugin.BESendEvent
  • Resource Type: ae.activities.BESendEvent
  • Description: send BE request for appraisal
  • Configuration:
  • Input bindings:
    • Mapping table

      Target Source
      /BESendEventInput/appraisalRequest/customerName $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/Name
      /BESendEventInput/appraisalRequest/realtyDetails $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/RealtyDetail
    • Mapping tree

      Mapping
      BESendEventInput
       appraisalRequest
        customerName = $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/Name
        realtyDetails = $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/RealtyDetail
    • Source code

      Mapping
                  <ns:BESendEventInput xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="www.tibco.com/plugin/be" xmlns:pfx="www.tibco.com/be/ontology/BEmodule/Events/appraisalRequest" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:ns2="www.tibco.com/be/ontology/pawn/Events/appraisalRequest" xmlns:pfx2="http://www.tibco.com/xmlns/ae2xsd/2002/05/GrantingCredit/GrantinCreditAESchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pfx3="http://www.tibco.com/xmlns/ae2xsd/2002/05/Appraisal/AppraisalSchema">
                      <ns2:appraisalRequest>
                          <customerName>
                              <xsl:value-of select="$CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/Name"/>
                          </customerName>
                          <realtyDetails>
                              <xsl:value-of select="$CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/RealtyDetail"/>
                          </realtyDetails>
                      </ns2:appraisalRequest>
                  </ns:BESendEventInput>
              

Transitions:

  • From: CreditReqReceiver -To: End
    • Label: no pawn
    • Condition: $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/Pawn = "false"
    • Description: customer has no pawn
  • From: CreditReqReceiver -To: SendAppraisalReq
    • Label: pawn
    • Condition: $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/Pawn="true"
    • Description: customer has pawn
  • From: SendAppraisalReq -To: End
    • Label:
    • Condition: Success
    • Description: