---
title: "workflowControllerWillRun(_:)"
framework: automator
role: symbol
role_heading: Instance Method
path: "automator/amworkflowcontrollerdelegate/workflowcontrollerwillrun(_:)"
---

# workflowControllerWillRun(_:)

Notifies the delegate when the workflow controller object is about to run.

## Declaration

```swift
optional func workflowControllerWillRun(_ controller: AMWorkflowController)
```

## Parameters

- `controller`: The workflow controller object to run.

## See Also

### Preparing to Run

- [workflowController(_:willRun:)](automator/amworkflowcontrollerdelegate/workflowcontroller(_:willrun:).md)
