Contents

canRun

A Boolean value that indicates whether the controller’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