Data
Type
|
Select the data
type of the incoming variable. The data types available
in the selection list are the Java primitive data types
(Boolean , byte ,
int , short , long ,
float , double ), their array
counterparts, and Java String .
To specify that the data type is a Java object or Java
object array, click in the field and type the name of the
appropriate Java class. For example,
java.util.List or
com.mycompany.big.blue.Sky.
|
Map
To
|
Specify the destination or the type of
destination for the value in Process Commander. This
field presents a subset of the following options, as
appropriate for the data type you specified:
Clipboard — Use this option when
the data in the external variable can be mapped data
directly to the clipboard property or activity
parameter specified in the Map To Key
field.
XML ParseRule — Use this option
when the data in an incoming string argument contains
XML data and you want a Parse XML rule to process the
data.
HTML PostData — Indicates that
the incoming data value is a stream of data posted from
an HTML form that contains property key/value
pairs.
Delimited ParseRule — Indicates
that the incoming string contains tabs, commas, or
other characters that separate fields, to be processed
by a Rule-Parse-Delimited rule.
Structured ParseRule — Indicates
that the incoming string contains fields in fixed
byte-offset positions, to be processed by a
Rule-Parse-Structured rule.
- Custom function rule from a
MapTo
library, if any exist in your system. Review the
function rule to determine what it does.
|
Map To
Key
|
The
value that you specify in this field depends on the
option you selected in the Map To
field:
- If the Map To value is
Clipboard , enter the property name to
which the data is to be mapped. Use curly brace
characters to make an indirect reference, if the
ultimate name of the destination property is the text
value of another property. Choose a property of the
appropriate mode (for example Single
Value , Value List , or
Object ) to receive the data.
- If the Map To value is
XML
Parse Rule , enter the Namespace
name (second key part) and the Element
Name name — third key part — of
the appropriate XML parse rule. Separate the
Namespace from the Element
Name with a space. That is, use the syntax
"NamespaceName ElementName" and not
"NamespaceName.ElementName." The system uses
the page class of this service rule as the first key
part of the parse rule.
-
To maintain
backward compatibility for service rules created in
releases before V5.2, you can specify a data mapping
with only a Namespace value. In that
case, the system determines the Element
Name key at runtime from the root element of
the incoming XML document. However, this mapping
works only if the Parser Type of the
XML parse rule is set to DOM and
validation is not enabled. As a best practice,
specify both the Namespace Name and
the Element Name of the rule.
- If the Map To value is
Delimited ParseRule or Structured
Parserule, enter the
Namespace key part followed by a
period and the Record Type key part.
- If the Map To value is
HTML
PostData , leave this field blank. The name/value
pairs in the string will be mapped to the parameter
page of the service activity rather than the primary
page.
- If the Map To value identifies a
function rule in a
MapTo library, either
select a property to hold the results of the function
or leave this field blank, as appropriate for
the function.
|