OnProcessStart

data class OnProcessStart(val ignoreIfIntervalTimeoutPresent: Boolean, val flowStatus: FlowStatus = FlowStatus.Unknown) : CleanupPolicy

Apply cleanup on the next (main) process start for any still-open flow.

If ignoreIfIntervalTimeoutPresent is true and the flow has a pending interval timeout, this policy is skipped so the interval timeout can handle cleanup.

Parameters

ignoreIfIntervalTimeoutPresent

When true, do not apply this policy if an interval timeout exists.

Constructors

Link copied to clipboard
constructor(ignoreIfIntervalTimeoutPresent: Boolean, flowStatus: FlowStatus = FlowStatus.Unknown)

Properties

Link copied to clipboard
open override val flowStatus: FlowStatus

The status to use when this policy triggers.