---
title: canRun
framework: automator
role: symbol
role_heading: Instance Property
path: automator/amworkflowcontroller/canrun
---

# canRun

A Boolean value that indicates whether the controller’s workflow is able to run.

## Declaration

```swift
var canRun: Bool { get }
```

## Return Value

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

## Discussion

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

- [isPaused](automator/amworkflowcontroller/ispaused.md)
- [isRunning](automator/amworkflowcontroller/isrunning.md)
