Instance Property

canRun

Returns a Boolean value that indicates whether the receiver's workflow is able to run.

Declaration

var canRun: Bool { get }

Return Value

true if the controller’s workflow is able to run; false otherwise.

Discussion

You might use this method to determine when to enable a “Run” button or other UI element you use to run the workflow.

See Also

Getting workflow information

var isPaused: Bool

A Boolean value that indicates whether the receiver's workflow is currently paused.

var isRunning: Bool

A Boolean value that indicates whether the receiver's workflow is currently running.