---
title: AMWorkflowControllerDelegate
framework: automator
role: symbol
role_heading: Protocol
path: automator/amworkflowcontrollerdelegate
---

# AMWorkflowControllerDelegate

A set of optional methods that a delegate of a workflow controller implements.

## Declaration

```swift
protocol AMWorkflowControllerDelegate : NSObjectProtocol
```

## Topics

### Preparing to Run

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

### Running

- [workflowController(_:didRun:)](automator/amworkflowcontrollerdelegate/workflowcontroller(_:didrun:).md)
- [workflowControllerDidRun(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerdidrun(_:).md)

### Stopping

- [workflowControllerWillStop(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerwillstop(_:).md)
- [workflowControllerDidStop(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerdidstop(_:).md)

### Handling Errors

- [workflowController(_:didError:)](automator/amworkflowcontrollerdelegate/workflowcontroller(_:diderror:).md)

### Deprecated

- [workflowController(_:willRun:)](automator/amworkflowcontrollerdelegate/workflowcontroller(_:willrun:).md)
- [workflowControllerWillRun(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerwillrun(_:).md)
- [workflowController(_:didRun:)](automator/amworkflowcontrollerdelegate/workflowcontroller(_:didrun:).md)
- [workflowControllerDidRun(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerdidrun(_:).md)
- [workflowControllerWillStop(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerwillstop(_:).md)
- [workflowControllerDidStop(_:)](automator/amworkflowcontrollerdelegate/workflowcontrollerdidstop(_:).md)
- [workflowController(_:didError:)](automator/amworkflowcontrollerdelegate/workflowcontroller(_:diderror:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Accessing the Delegate

- [delegate](automator/amworkflowcontroller/delegate.md)
