Placeholder
Part of Uipath maestro flow. Install the skill and your agent reads this page when it needs the depth.
Placeholder
Exact signatures, fields, and defaults: mock().
A placeholder says that a real capability belongs at this point in the graph but does not exist yet.
Signature: mock().
.step('extractInvoice', mock())
.step('continueWithInput', script({
code: 'return $vars.assumedInvoiceId;' }))
Use a real script when downstream work needs temporary fixed data; that script
has the same behavior locally and after deployment. A script is never a
stand-in for the capability itself (an extraction, an external service, a
connector action). Search first, as SKILL.md, "Choose the node before
writing it" says, and use the node it finds; for extraction, an
agent, or a process, run the search exactly as the family reference gives it
(ixp.md, agent.md). Use a placeholder only when that
search comes back empty; it makes the missing capability visible. Do not use it
merely to disable a step or as the only work in a finished Flow.
When check reports MOCK_HAS_NO_OUTPUT because a later step reads the mock,
keep the mock and feed that step from a separate step, as in the example above;
never replace the mock with a script that fakes its output.
At a glance
Mark where a real capability will be inserted later.
Use a script for local fixed data, never in place of a capability the request needs; use a placeholder only to expose a capability gap the search proved.
Unknown node types
mock() is a deliberate placeholder — a node that stands in for work not yet
decided. It is NOT the way to carry a node the SDK has no factory for: it
compiles to core.logic.mock, so the original type is gone.
For that, use rawNode({ nodeType, version, inputs?, outputs? }). It carries
the definition the platform serves for that nodeType@version, so the node
keeps its identity and its inputs:
.step('exotic', rawNode({
nodeType: 'uipath.exotic.thing', version: '2.1',
inputs: { where: input('scope') },
}))
When authoring, omit manifest. check and compile read it from the local
registry cache by nodeType + version. When the cache lacks it they report
RAW_NODE_MANIFEST_NOT_CACHED and name the commands to run
(uip maestro flow registry pull, then registry get <nodeType> to see the
versions the tenant serves). Use the version registry get shows. If the
resource was redeployed with a changed schema, the cache still holds the old
definition: run uip maestro flow registry pull --force first.
Needs @uipath/maestro-builder-sdk 6.100.0 or later. An older SDK requires
manifest, so leaving it out is a type error: on an older SDK, pass the
Data.Node that uip maestro flow registry get <nodeType> --output json
prints, unchanged.
Never hand-write a manifest: it validates locally and fails on the tenant,
which resolves the node against its own catalog. A manifest that decompile
emitted stays as written; it wins over the cache.
Prefer a typed factory whenever one exists: it carries the family's check rules, its defaults and its output contract, none of which a raw node can know.
Never for a connector. A uipath.connector.* node type is refused by
check (RAW_NODE_CONNECTOR) and by compile. A raw node keeps its inputs
verbatim, so the emitted connector node has no inputs.detail and no
connection binding: uip maestro flow validate only warns ("Connector is not
configured") and the run can never reach Integration Service. Measured on the
eval archive, every Data Fabric flow authored this way failed its checker. The
situation that tempts it — compile refusing a body field as unknown input
because the static library does not carry it — is what
uip maestro registry prepare <key> --action <action> exists for (add
-f entityName=<Entity> for a Data Service operation); see the
parent-field loop.
decompile emits rawNode(...) for any node type it cannot name, hoisting the
manifest to a const beside the flow, so an unknown node keeps its type and
version through a round trip. So mock() in decompiled source means
the flow really contains a placeholder.