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.
Starts the workflow with a default request.
Return
The resulting Node after processing the workflow.
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.