Section contains description of Process " GetAccountState.process " .
Folder | Description |
---|---|
AccountState | This application simulate get bank account state process which using rating of client bonita. |
/ProcessDefinitions | All process definitions |
/ProcessDefinitions/GetAccountState | Main AccountState processes |
Name: Start
Description: Start process with account owner name.
Input Parameters:
Name: End
Output Parameters:
Mapping table
Target | Source |
---|---|
/Account | [COPY-OF] < $Schema0/pfx:Account > |
Mapping tree
Mapping |
---|
Account = [COPY-OF] < $Schema0/pfx:Account > |
Source code
Mapping |
---|
<xsl:copy-of xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd" select="$Schema0/pfx:Account"/> |
Mapping table
Target | Source |
---|---|
/Account | [COPY-OF] < $ParseXML-AccountsList/pfx:AccountsList[$AccountIndex]/pfx:Account > |
Mapping tree
Mapping |
---|
Account = [COPY-OF] < $ParseXML-AccountsList/pfx:AccountsList[$AccountIndex]/pfx:Account > |
Source code
Mapping |
---|
<xsl:copy-of xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd" select="$ParseXML-AccountsList/pfx:AccountsList[$AccountIndex]/pfx:Account"/> |
Mapping table
Target | Source |
---|---|
/Account/Number | "" |
/Account/Name | "" |
/Account/Value | 0 |
/Account/MonthIncrement | 0 |
/Account/Password | "" |
Mapping tree
Mapping |
---|
Account Number = "" Name = "" Value = 0 MonthIncrement = 0 Password = "" |
Source code
Mapping |
---|
<pfx:Account xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd"> <pfx:Number> <xsl:value-of select=""""/> </pfx:Number> <pfx:Name> <xsl:value-of select=""""/> </pfx:Name> <pfx:Value> <xsl:value-of select="0"/> </pfx:Value> <pfx:MonthIncrement> <xsl:value-of select="0"/> </pfx:MonthIncrement> <pfx:Password> <xsl:value-of select=""""/> </pfx:Password> </pfx:Account> |
Mapping table
Target | Source |
---|---|
/jdbcQueryActivityInput/subsetSize | 1 |
Mapping tree
Mapping |
---|
jdbcQueryActivityInput subsetSize = 1 |
Source code
Mapping |
---|
<jdbcQueryActivityInput xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd"> <subsetSize> <xsl:value-of select="1"/> </subsetSize> </jdbcQueryActivityInput> |
Mapping table
Target | Source |
---|---|
/xmlString | $ReadFile-Accounts/ns1:ReadActivityOutputTextClass/fileContent/textContent |
Mapping tree
Mapping |
---|
xmlString = $ReadFile-Accounts/ns1:ReadActivityOutputTextClass/fileContent/textContent |
Source code
Mapping |
---|
<xmlString xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd"> <xsl:value-of select="$ReadFile-Accounts/ns1:ReadActivityOutputTextClass/fileContent/textContent"/> </xmlString> |
Mapping table
Target | Source |
---|---|
/ReadActivityInputClass/fileName | $_globalVariables/ns:GlobalVariables/DefaultAccountsFile |
Mapping tree
Mapping |
---|
ReadActivityInputClass fileName = $_globalVariables/ns:GlobalVariables/DefaultAccountsFile |
Source code
Mapping |
---|
<ns2:ReadActivityInputClass xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd"> <fileName> <xsl:value-of select="$_globalVariables/ns:GlobalVariables/DefaultAccountsFile"/> </fileName> </ns2:ReadActivityInputClass> |
Mapping table
Target | Source |
---|---|
/jdbcUpdateActivityInput/date_now | current-dateTime() |
/jdbcUpdateActivityInput/id | $Start/root/ID |
Mapping tree
Mapping |
---|
jdbcUpdateActivityInput date_now = current-dateTime() id = $Start/root/ID |
Source code
Mapping |
---|
<jdbcUpdateActivityInput xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/AccountState/SharedResources/Schema.xsd"> <date_now> <xsl:value-of select="current-dateTime()"/> </date_now> <id> <xsl:value-of select="$Start/root/ID"/> </id> </jdbcUpdateActivityInput> |