flowStep

abstract suspend fun flowStep(wideEventId: Long, stepName: String, success: Boolean = true, metadata: Map<String, String> = emptyMap()): Result<Unit>

Record a step in an active flow.

Parameters

wideEventId

ID of the wide event.

stepName

Step label (e.g., "account_created").

success

Whether this step succeeded.

metadata

Optional metadata.