SendApprRequest
License for TIBCO Software Use Only!
Section contains description of Process " SendApprRequest.process " .
Modification time: 2023/04/20 10:31:06
Folder description:
| Folder | Description |
|---|---|
| Appraisal | This application gets information about a realty and send this information to one of appraisers (choose momentaly the least busy one). The price of the realty is then sent in EMS message. |
Process description:
| send BE request for appraisal to bank service |
Process definition:
Full process path: pawn/SendApprRequest.process
Diagram:

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
- - CreditRequest (XML Element Reference, required )
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:
- eventRef = /pawn/Events/appraisalRequest.event
- 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
BESendEventInput appraisalRequest customerName = $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/Name realtyDetails = $CreditReqReceiver/ns1:ActivityOutput/Body/pfx3:CreditRequest/RealtyDetailSource code
<ns:BESendEventInput xmlns:ns="www.tibco.com/plugin/be" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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: