start

suspend fun start(request: HttpRequest, context: SharedContext = SharedContext(mutableMapOf())): Node

Starts the workflow with the provided request.

Return

The resulting Node after processing the workflow.

Parameters

request

The request to start the workflow with.

context

The flow context of the flow.


suspend fun start(): Node

Starts the workflow with a default request.

Return

The resulting Node after processing the workflow.


suspend fun start(block: SharedContext.() -> Unit): Node

Starts the workflow with a block that allow to set attributes in FlowContext.

Return

The resulting Node after processing the workflow.

Parameters

block

The block to execute in the FlowContext of the workflow.