---
title: output
framework: automator
role: symbol
role_heading: Instance Property
path: automator/amaction/output
---

# output

The action’s output.

## Declaration

```swift
var output: Any? { get set }
```

## Return Value

Return Value The receiving action’s output, or nil if called before the action is run.

## Discussion

Discussion nil if called before the action is run. This method is used in conjunction with the AMWorkflow class, which allows access to the actions in a workflow. Within a workflow, for example, you might iteratively inspect the output of each action. Or, on completion of a workflow, you might examine the output of the last action, to determine the output of the workflow. This parameter can also be used when running an action asynchronously. Call setOutput to specify the output the action produces.

## See Also

### Getting Action Information

- [name](automator/amaction/name.md)
- [progressValue](automator/amaction/progressvalue.md)
- [ignoresInput](automator/amaction/ignoresinput.md)
- [selectedInputType](automator/amaction/selectedinputtype.md)
- [selectedOutputType](automator/amaction/selectedoutputtype.md)
- [isStopped](automator/amaction/isstopped.md)
