Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Concept: Workday Studio Message Builder

Concept: Workday Studio Message Builder

Workday Studio's
Message Builder
provides a graphical view that simplifies message content definition for these assembly elements:
  • The
    write
    step
  • The
    log
    step
  • The
    log-error
    error handler
The
Message Builder
tab in the Assembly Editor provides a single location where you can define message content for any relevant element in the assembly.
Message Builder
is also available as a tab in the
Properties
view of individual
write
,
log
, and
log-error
elements.
The left
Message Builder
pane enables you to define the message content type. Use the options at the top to add various types of message elements:
Option
Description
Create 'message-content'
Adds the content of the mediation message to the message.
Create 'text'
Adds a string literal to the message. There are 3 options:
  • Enter the text manually, then click
    Apply changes
    .
  • Click
    Insert MVEL Expression
    , enter MVEL expressions (in combination with plain text, if required), then click Apply.
  • Click
    Generate XML literal
    and select the defining schema or WSDL element.
Create 'exception'
Adds an exception to the message if one exists in the mediation context. For use in the
log-error
error handler only.
Create 'line-separator'
Adds a new-line character to the message.
Create 'xpath'
Adds the result of an XPath expression to the message.
Create 'xslt'
Adds the result of an XSL transformation to the message.
Create 'xml-stream'
Creates the content for the
log
or
write
step.
Create 'regex-match'
Applies a regular expression to the message content and adds all matching occurrences to the mediation message.
Create 'static-file'
Specifies an input file that populates the message with its entire contents.
Create 'message-store-id'
Adds the message store ID of the message. Applies only if you set the
store-message
property for the transport.
Create 'header'
Adds the value of a named message header to the message.
Create 'headers'
Adds complete header sets in the form of name-value header pairs separated by new-line characters.
Create 'customer-id'
Adds the customer ID from the
MediationContext
to the message. Displays 'null' in the message if the customer ID isn't set.
The right pane is where you define the message element's value. The contents of the value pane vary depending on the message element type.
To reorder or delete message elements, use the buttons on the right of the content pane. Their order in
Message Builder
is mirrored in the XML.