CreateObligatorsRegistr

Section contains description of Process " CreateObligatorsRegistr.process " .

Folder description:

Folder Description
CalculateBonita Design Time Library which serves for calculating pretender bonita. This library using EMS for communication.
/ProcessDefinitions All process definitions
/ProcessDefinitions/XMLCreator Processes for creating default xml files

Process description:

Create default basic ObligatorRegistr xml file

Process definition:

Full process path: ProcessDefinitions/XMLCreator/CreateObligatorsRegistr.process

Diagram:

Start End WriteFile ObligatorRegistr RenderXML ObligatorsList From: Start To: RenderXML ObligatorsList From: RenderXML ObligatorsList To: WriteFile ObligatorRegistr From: WriteFile ObligatorRegistr To: End

Process starter activity:

Name: Start

Description: Start of process

Input Parameters:

Process end activity:

Name: End

Output Parameters:

Activities:

Name: RenderXML ObligatorsList

  • Type: com.tibco.plugin.xml.XMLRendererActivity
  • Resource Type: ae.activities.XMLRendererActivity
  • Description: Render string in XML format according to ObligatorsRegistr XSD schema
  • Configuration:
    • renderAsText = text
    • validateInput = true
    • renderDefaultPrefix = true
    • textEncoding = UTF-8
    • term
  • Input bindings:
    • Mapping table

      Target Source
      /ObligatorsList/@Count 1
      /ObligatorsList/Obligator/Name "Jan Novak"
      /ObligatorsList/Obligator/Value 100000
      /ObligatorsList/Obligator/Problem 0
      /ObligatorsList/Obligator/Refund 5000
    • Mapping tree

      Mapping
      ObligatorsList
       @Count = 1
       Obligator
        Name = "Jan Novak"
        Value = 100000
        Problem = 0
        Refund = 5000
    • Source code

      Mapping
                  <pfx:ObligatorsList xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:pfx="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema1.xsd" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file">
                      <xsl:attribute name="Count">
                          <xsl:value-of select="1"/>
                      </xsl:attribute>
                      <pfx:Obligator>
                          <pfx:Name>
                              <xsl:value-of select="&#34;Jan Novak&#34;"/>
                          </pfx:Name>
                          <pfx:Value>
                              <xsl:value-of select="100000"/>
                          </pfx:Value>
                          <pfx:Problem>
                              <xsl:value-of select="0"/>
                          </pfx:Problem>
                          <pfx:Refund>
                              <xsl:value-of select="5000"/>
                          </pfx:Refund>
                      </pfx:Obligator>
                  </pfx:ObligatorsList>
              

Name: WriteFile ObligatorRegistr

  • Type: com.tibco.plugin.file.FileWriteActivity
  • Resource Type: ae.activities.FileWriteActivity
  • Description: Save rendered xml string as file
  • Configuration:
    • encoding = text
    • compressFile = None
  • Input bindings:
    • Mapping table

      Target Source
      /WriteActivityInputTextClass/fileName $_globalVariables/ns:GlobalVariables/DefaultObligatorsRegistrFile
      /WriteActivityInputTextClass/textContent $RenderXML-ObligatorsList/xmlString
    • Mapping tree

      Mapping
      WriteActivityInputTextClass
       fileName = $_globalVariables/ns:GlobalVariables/DefaultObligatorsRegistrFile
       textContent = $RenderXML-ObligatorsList/xmlString
    • Source code

      Mapping
                  <ns2:WriteActivityInputTextClass xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://www.tibco.com/pe/DeployedVarsType" xmlns:pfx="http://www.tibco.com/schemas/GrantingCredit/SharedConnections/Schema1.xsd" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file">
                      <fileName>
                          <xsl:value-of select="$_globalVariables/ns:GlobalVariables/DefaultObligatorsRegistrFile"/>
                      </fileName>
                      <textContent>
                          <xsl:value-of select="$RenderXML-ObligatorsList/xmlString"/>
                      </textContent>
                  </ns2:WriteActivityInputTextClass>
              

Transitions:

  • From: RenderXML ObligatorsList -To: WriteFile ObligatorRegistr
    • Label:
    • Condition: Success
    • Description:
  • From: Start -To: RenderXML ObligatorsList
    • Label:
    • Condition: Success
    • Description:
  • From: WriteFile ObligatorRegistr -To: End
    • Label:
    • Condition: Success
    • Description: