LoadParameters

Section contains description of Process " LoadParameters.process " .

Folder description:

Folder Description
  No description

Process description:

No description

Process definition:

Full process path: ProcessDefinitions/LoadParameters/LoadParameters.process

Diagram:

Start End ReadFile with InputName ParseXML as InputParameters From: Start To: ReadFile with InputName From: ReadFile with InputName To: ParseXML as InputParameters From: ParseXML as InputParameters To: End

Process starter activity:

Name: Start

Description:

Input Parameters:

  • - InputFile (XML Element Reference, required )

Process end activity:

Name: End

Output Parameters:

Return bindings:
  • Mapping table

    Target Source
    /InputParameters [COPY-OF] < $ParseXML-as-InputParameters/pfx:InputParameters >
  • Mapping tree

    Mapping
    InputParameters = [COPY-OF] < $ParseXML-as-InputParameters/pfx:InputParameters >
  • Source code

    Mapping
            <xsl:copy-of xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:ns1="http://www.tibco.com/pe/EngineTypes" xmlns:pfx2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns2="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:ns3="http://www.tibco.com/pe/DeployedVarsType" select="$ParseXML-as-InputParameters/pfx:InputParameters"/>
        

Activities:

Name: ParseXML as InputParameters

  • Type: com.tibco.plugin.xml.XMLParseActivity
  • Resource Type: ae.activities.XMLParseActivity
  • Description:
  • Configuration:
    • inputStyle = text
    • xsdVersion = default
    • validateOutput = true
    • term
  • Input bindings:
    • Mapping table

      Target Source
      /xmlString $ReadFile-with-InputName/ns:ReadActivityOutputTextClass/fileContent/textContent
    • Mapping tree

      Mapping
      xmlString = $ReadFile-with-InputName/ns:ReadActivityOutputTextClass/fileContent/textContent
    • Source code

      Mapping
                  <xmlString xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:ns1="http://www.tibco.com/pe/EngineTypes" xmlns:pfx2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns2="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:ns3="http://www.tibco.com/pe/DeployedVarsType">
                      <xsl:value-of select="$ReadFile-with-InputName/ns:ReadActivityOutputTextClass/fileContent/textContent"/>
                  </xmlString>
              

Name: ReadFile with InputName

  • Type: com.tibco.plugin.file.FileReadActivity
  • Resource Type: ae.activities.FileReadActivity
  • Description:
  • Configuration:
    • encoding = text
  • Input bindings:
    • Mapping table

      Target Source
      /ReadActivityInputClass/fileName if ($Start/pfx:InputFile/pfx:FileName="") then $_globalVariables/ns3:GlobalVariables/DefaultInputParametersFile else $Start/pfx:InputFile/pfx:FileName
    • Mapping tree

      Mapping
      ReadActivityInputClass
       fileName = if ($Start/pfx:InputFile/pfx:FileName="") then $_globalVariables/ns3:GlobalVariables/DefaultInputParametersFile else $Start/pfx:InputFile/pfx:FileName
    • Source code

      Mapping
                  <pfx2:ReadActivityInputClass xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:ns1="http://www.tibco.com/pe/EngineTypes" xmlns:pfx2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns2="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:ns3="http://www.tibco.com/pe/DeployedVarsType">
                      <fileName>
                          <xsl:value-of select="if ($Start/pfx:InputFile/pfx:FileName=&#34;&#34;) then $_globalVariables/ns3:GlobalVariables/DefaultInputParametersFile else $Start/pfx:InputFile/pfx:FileName"/>
                      </fileName>
                  </pfx2:ReadActivityInputClass>
              

Transitions:

  • From: ParseXML as InputParameters -To: End
    • Label:
    • Condition: Success
    • Description:
  • From: ReadFile with InputName -To: ParseXML as InputParameters
    • Label:
    • Condition: Success
    • Description:
  • From: Start -To: ReadFile with InputName
    • Label:
    • Condition: Success
    • Description: