JourneyContinueNode

public final class JourneyContinueNode : ContinueNode, @unchecked Sendable

A ContinueNode specialized for Journey flows.

Builds the JSON payload from contained callbacks and constructs the HTTP request targeting the Journey authenticate endpoint.

  • Creates a new JourneyContinueNode.

    Declaration

    Swift

    public init(context: FlowContext, workflow: Workflow, input: [String : Any], actions: [any Callback])

    Parameters

    context

    The flow context for the journey.

    workflow

    The owning workflow instance.

    input

    The raw input JSON for this step (contains authId and callbacks).

    actions

    The list of callbacks to be executed in this step.

  • Converts this node to a Request ready to be sent by the workflow.

    Declaration

    Swift

    override public func asRequest() -> Request

    Return Value

    A Request configured with URL, headers, and JSON body for the authenticate endpoint.