Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Concept: MediationContext Object

Concept: MediationContext Object

During assembly execution, Workday creates a temporary holder object called a
MediationContext
. The
MediationContext
contains 3 main types of information:
  • MediationMessage
    : an object containing the text or binary data message that Studio ultimately sends to an external target using an Out-transport. Examples: HTTP-Out, FTP-Out.
  • Variables: temporary holders for message data.
  • Properties: a map of name-object pairs that assembly elements use for storing transient data outside of a message.
All processing in assemblies involves either reading from or writing to the
MediationContext
.
When you access the
MediationContext
object using MVEL, the accessor is
context
. Example:
context.getErrorMessage()
. In Java, it's
mediationContext
. Example:
mediationContext.getErrorMessage()
.