configure

fun configure(workflow: String, name: String? = null, step: Configure<UseWorkflow> = Configure {}): UseWorkflow

Creates and configures a UseWorkflow instance.

Return

Configured UseWorkflow instance

Parameters

workflow

The workflow reference (local path or external reference)

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step