Flow
Creates a Flow record (syshubflow) that defines a series of actions to execute when triggered.
Creates a Flow record (syshubflow) that defines a series of actions to execute when triggered.
API reference for the Subflow() constructor, the wfa.subflow() invocation helper, and the wfa.flowLogic.assignSubflowOutputs() output helper.
The wfa (Workflow Automation) namespace provides the core building blocks for defining Flows and Subflows. Use wfa.trigger() to start a flow, wfa.action() to execute built-in actions, and wfa.flowLogic for control flow (if/elseIf/else, forEach, doInParallel, tryCatch, appendToFlowVariables).
Comprehensive guide for creating and editing ServiceNow Workflow Automation (WFA) flows using the Fluent SDK. Covers Flow Designer flows including triggers, actions, flow logic, data pills, approvals, and service catalog integration. Use this when implementing event-driven automation, scheduled tasks, approval workflows, or any WFA component.