---
title: "step(_:)"
framework: automator
role: symbol
role_heading: Instance Method
path: "automator/amworkflowcontroller/step(_:)"
---

# step(_:)

In a paused workflow, runs the next action in the workflow and then pauses again.

## Declaration

```swift
@IBAction func step(_ sender: Any)
```

## Parameters

- `sender`: Object that initiated the step action.

## Discussion

Discussion Stepping allows a workflow to be executed one action at a time. This is useful for ensuring that the workflow is doing what it’s supposed to do, as the results of each individual action can be inspected before moving on to the next.

## See Also

### Controlling the Workflow

- [pause(_:)](automator/amworkflowcontroller/pause(_:).md)
- [reset(_:)](automator/amworkflowcontroller/reset(_:).md)
- [run(_:)](automator/amworkflowcontroller/run(_:).md)
- [stop(_:)](automator/amworkflowcontroller/stop(_:).md)
