Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Reference: Copy Step Properties

Reference: Copy Step Properties

Common Tab

Property
XML Attribute Name
Description
Step ID
id
The unique ID of the
copy
step within the assembly.
Input
input
Specifies where the
copy
step obtains data as input. There are 5 possible values:
  • message
    : the entire message, including
    rootpart
    and attachments.
  • soapbody
    : the content of the SOAP body from the
    rootpart
    of the message. Only applicable when the input contains a SOAP message.
  • attachment
    : a MIME attachment within the message. Specify the attachment index.
  • rootpart
    : the content of the
    rootpart
    of a MIME message. If the message isn't MIME, Workday selects the entire message.
  • variable
    : use a named variable from the
    MediationContext
    .
Input XPath
input-xpath
An XPath expression that extracts a matching section of XML input data from a message part or variable in the
MediationContext
.
Output
output
Specifies where the
copy
mediation step directs the output. There are 5 possible values:
  • message
    : the entire message, including
    rootpart
    and attachments. This value creates a new message, effectively removing any attachments.
  • soapbody
    : the content of the SOAP body from the
    rootpart
    of the message.
  • attachment
    : a MIME attachment to the message. You must specify the attachment index.
  • rootpart
    : the content of the root part of a MIME message, or if the message isn't MIME, the message itself. This value preserves any attachments on the original message.
  • variable
    : save the output as a named variable in the
    MediationContext
    .
Output XPath
output-xpath
An XPath expression that replaces a matching section of XML output data from a message part or variable in the
MediationContext
.
Append to Output Element
append-to-output-element
Specifies whether the
copy
step appends the input XML element to the element that matches the
output-xpath
value.
Namespaces
namespaces
The namespaces used by your XPath expression in the format
prefix namespace prefix2 namespace2
. Overrides namespace mappings in the assembly.xml file.

Advanced Tab

Property
XML Attribute Name
Description
Description
description
A description of the
copy
step that displays in the consolidated log. You can use this feature to describe the step's function and the data on which it is operating.
Execute When
execute-when
A condition that determines whether the
copy
step executes.
Stream XPath
stream-xpath
Specifies whether the
copy
step provides streaming support for simple XPath expressions.
XPath Version
xpath-version
Specifies whether to use XPath version 1.0 or 2.0. Enter the value 1 for assembly versions through Workday 11, and 2 for assembly versions Workday 12 onwards. Workday ignores this property if the
stream-xpath
value is set to
true
.
You can enable Workday to set the version dynamically using an MVEL template that inserts a system property value. Example:
@{props.get('the_version')}
.