---
title: "associateWorkflow"
canonical: "https://support.appfire.com/space/JCLI/70784039/associateWorkflow"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70787366)

> Macro (details)
> 
> | **Description** | Associate workflow to a workflow scheme. If a valid issueType parameter is provided, the workflow is associated to that issue type. Otherwise it is set as the default workflow for the scheme. |
> | --- | --- |
> | **Required Parameters** | [workflowScheme](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70785800), [workflow](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70785792) |
> | **Optional Parameters** | [issueType](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70789776) |
> | **Type** | [Update](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780909/Action+Types#ActionTypes-Update) |
> | **Category** | [Workflows](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780591/Action+Categories#ActionCategories-Workflows) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [associateWorkflow](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70782732/Examples#Examples-associateWorkflow) |

## Related How To's

> Macro (cql-query)