# pw workflows update

> Source: https://parallelworks.com/docs/cli/pw/workflows/update

## pw workflows update

Update a workflow

```
pw workflows update <name> [flags]
```

### Examples

```
  # Update workflow YAML from a file
  pw workflows update --yaml workflow.yaml my-workflow
  
  # Update workflow display name
  pw workflows update --display-name "My Workflow" my-workflow
  
  # Update workflow description
  pw workflows update --description "Runs batch jobs" my-workflow
  
  # Update multiple fields at once
  pw workflows update --yaml workflow.yaml --display-name "New Name" my-workflow
```

### Options

```
      --description string    New description for the workflow
      --display-name string   New display name for the workflow
  -h, --help                  help for update
  -o, --output string         Output format (json)
      --yaml string           Path to YAML file to replace workflow definition
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw workflows](/docs/cli/pw/workflows)	 - Manage workflows
