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

Concept: Subassemblies

A subassembly is a processing chain whose first component is a
local-in
transport. The
local-in
defines an entry point to the processing chain, enabling it to be called by a
local-out
transport in the same assembly or in another assembly. You can include several subassemblies and
local-out
transports within the same assembly.
You can't deploy subassemblies to Workday on their own because they don't begin with a
workday-in
transport.
Because you can invoke them at will, subassemblies enable you to encapsulate processing logic for reuse. You can think of them as programming subroutines. The default ID for a
local-in
transport is
SubRoutine
. The default ID for a
local-out
transport is
CallSubRoutine
.
Subassemblies have parameters. You specify them on the
local-in
transport and assign them values on the
local-out
. These parameters define properties in the
MediationContext
.
When you save a subassembly, Workday Studio automatically adds a
local-out
transport that invokes it to the
Workspace Components
category on the
Palette
. This
local-out
transport uses the custom icon from the subassembly's
local-in
transport, if you supplied one. Otherwise it uses a question mark icon.
The
Palette
always displays public subassemblies. It displays private subassemblies only if they occur in the assembly. Studio provides several prepackaged subassemblies in the
Common Components
category on the
Palette
.
To locate the
local-in
transport that a
local-out
references, right-click the
local-out
and select
Declaration in Workspace
.
To locate the
local-out
transports that are referenced by a
local-in
, right-click the
local-in
and select
References in Workspace
.