---
title: updateParameters()
framework: automator
role: symbol
role_heading: Instance Method
path: automator/amaction/updateparameters()
---

# updateParameters()

Requests the action to update its stored set of parameters from the settings in the action’s user interface.

## Declaration

```swift
func updateParameters()
```

## Discussion

Discussion This message sends just before an action is saved, copied, or run. Preferably, an action’s settings should not solely reside in the controls of its view, but if they do, the action can fetch and save them in this method.

## See Also

### Updating Action Parameters

- [parametersUpdated()](automator/amaction/parametersupdated().md)
