Actions YAML Reference
Properties | List of all members
XslTransformAction Class Reference

Defines a common class of the following:
More...

Inherits IntegrationAction.

Properties

DataTarget Source [get, set]
 Specifies the source XML to be transformed. More...
 
DataTarget XSL [get, set]
 Specifies the script for the XSLT. Valid only for TransformXMLUsingXSLTAction. More...
 
string TransformOutputVariable [get, set]
 Specifies the name of the variable to save the output result to. The default value is "EventData". More...
 
CommonActionProperties

Describes the common action properties for Actions and ActionGroups.

string Name [get, set]
 Specifies the name. This property cannot be empty and must be unique in the YAML script. More...
 
string Description [get, set]
 Specifies the description. The default value is "". More...
 
ActionRunType RunType [get, set]
 Runs the action by using one of the following types: More...
 
bool IgnoreErrors [get, set]
 Specifies whether to ignore errors and continue with the next action. Valid only for Action and ActionGroup. The default value is false. More...
 
int FailureRetries [get, set]
 Specifies the number of times that the action is retried if it fails. Available only for Action. The default value is 0. More...
 
int RetryInterval [get, set]
 Specifies the interval, in milliseconds, that elapses when a failed action is retried. Valid only when the value of FailureRetries is greater than 0. Available only for Action. The default value is 10000. More...
 

Detailed Description

Defines a common class of the following:

Example of BTXMLPrintResponseToIBMWebSphereAction:

Actions:
- BTXMLPrintResponseToIBMWebSphereAction:
File: dropbox://MyDropbox/Data.xml
TransformOutputVariable: TransformResult
# And more common action properties
...
string TransformOutputVariable
Specifies the name of the variable to save the output result to. The default value is "EventData".
Definition: XslTransformAction.Properties.cs:196
DataTarget Source
Specifies the source XML to be transformed.
Definition: XslTransformAction.Properties.cs:181

Example of SAPAIIToBTXMLAction:

Actions:
- SAPAIIToBTXMLAction:
Source: |
<?xml version="1.0" encoding="UTF-8" ?>
<Command xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Command.xsd">
<WriteTagData>
<Item>
<FieldList format = "SGTIN-96.btw" jobName="SGTIN-96_SAMPLE" quantity="1">
<Field name="BUSINESS_PARTNER">WALLMART</Field>
...
</FieldList>
</Item>
</WriteTagData>
</Command>
TransformOutputVariable: TransformResult
# And more common action properties
...

Example of TransformXMLUsingXSLTAction:

Actions:
- TransformXMLUsingXSLTAction:
File: %FileName%
XSL: |
<?xml version="1.0"?>
<xsl:stylesheet version = "1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match = "/" >
...
</xsl:template>
</xsl:stylesheet>
TransformOutputVariable: TransformResult
# And more common action properties
...
DataTarget XSL
Specifies the script for the XSLT. Valid only for TransformXMLUsingXSLTAction.
Definition: XslTransformAction.Properties.cs:188

Property Documentation

◆ Source

DataTarget Source
getset

Specifies the source XML to be transformed.

Example in which the source is an XML string:

<?xml version="1.0"?>
<catalog>
<book id = "bk101">
<author> Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications with XML.</description>
</book>
...
</catalog>

Example in which the source is a variable:

Source: %EventData%

Example in which the source is a file on the temporary storage:

File: MyXML.xml

Example in which the source is a file on the computer or network or from Librarian:

File: lib://XMLDepot/MyXML.xml

Example in which the source is a cloud file:

File: dropbox://Dropbox/Data.xml

◆ XSL

DataTarget XSL
getset

Specifies the script for the XSLT. Valid only for TransformXMLUsingXSLTAction.

For examples, see Source.

◆ TransformOutputVariable

string TransformOutputVariable
getset

Specifies the name of the variable to save the output result to. The default value is "EventData".

◆ Name

string Name
getsetinherited

Specifies the name. This property cannot be empty and must be unique in the YAML script.

◆ Description

string Description
getsetinherited

Specifies the description. The default value is "".

◆ RunType

ActionRunType RunType
getsetinherited

Runs the action by using one of the following types:

  • Always (default)
  • Never

◆ IgnoreErrors

bool IgnoreErrors
getsetinherited

Specifies whether to ignore errors and continue with the next action. Valid only for Action and ActionGroup. The default value is false.

◆ FailureRetries

int FailureRetries
getsetinherited

Specifies the number of times that the action is retried if it fails. Available only for Action. The default value is 0.

◆ RetryInterval

int RetryInterval
getsetinherited

Specifies the interval, in milliseconds, that elapses when a failed action is retried. Valid only when the value of FailureRetries is greater than 0. Available only for Action. The default value is 10000.


The documentation for this class was generated from the following file: