Translation Editor

Use the Translation editor to configure translations. In the Studio Projects view, double-click a translation entity to open the Translation editor. You can create the editor using the Translation Wizard.

When working with the Translation editor, see the following topics:

Translation Editor Editor Tab

Use the Editor tab for defining values for translations.

Translation Details

Field Use
Add Click to add a row with default values for a translation.
Remove Click to remove the row with values for a translation.

Details

Field Use
Name Specify a unique name for the translation.
Type Select any one of the following:
  • XSLT to indicate that an XSLT translation occurs. The XSLT file is identified in the XSLT Script field.

  • Do not forward to indicate that it is not necessary to notify the upstream system of the event (such as a work order completion event).

Direction Type Select any one of the following:
  • Incoming to indicate that the XSLT is to be used by the SRT to translate an XML document from an upstream system (for example, Siebel) for ASAP.

  • Event to indicate that the XSLT is to be used by the SRT to translate an XML document received from ASAP (for example, event information).

  • Outgoing to indicate that the XSLT is to be used by SRT to translate an XML document of an event into a format accepted by the upstream system (for example Siebel).

Select Click to select the XSLT file that implements the translation. The file is located in the WorkspaceName/SRTCartridgeProjectName/Translations folder.
Dispatch Condition Type Select the condition under which the translation is applied to the upstream XML document. Select any one of the following conditions, that can based either on a JMSHeader or an XPath in the upstream document:
  • JMSHeader to initiate the translation based on the data contained in the message properties in the JMS message.

  • XPath to initiate the translation based on the data contained in the upstream XML.

Property Name Displays the JMSHeader property or XPath condition (depending on the condition type) that must be met for this translation to be applied.
Property Value Displays the JMS header property value or XPath value (depending on the condition type) that must be matched for this translation to be applied.

Query

Field Use
Query Type Select any one of the following conditions on which the query can be invoked:
  • Order Request to query a work order.

  • Audit Value to retrieve all audit trails associated with a particular work order.

  • Service History to retrieve the history of a service action.

  • Atomic Action History to retrieve the history of an atomic action.

Dispatch Condition Type Select a condition type based on which a query can be invoked.
Condition Label Specify the JMSHeader condition name or XPath condition (depending on the condition type) that must be met to invoke the query for this translation.
Condition Value Specify the JMS header condition value or XPath value (depending on the condition type) that must be matched to invoke the query for this translation.

XPath Map

Field Use
Parameter Name XPath Specify the name of the XPath parameter.
Parameter Value XPath Specify the XPath value. The SRT runs the configured XPath value and the returned name and value pairs are added to the JMS header properties.
Add Click to add default XPath parameter name and value.

Related Topics

Translation Editor

Modeling Translations

Translation Editor Blueprint Tab

Use the Blueprint tab to view the generated documentation for the translation entity. This tab is read only.

Related Topics

Translation Editor

Modeling Translations