---
title: "getWorkflowTransition"
canonical: "https://support.appfire.com/space/PSJ/15483973/getWorkflowTransition"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getWorkflowTransition(workflowName, transtionName) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves transition information for a single workflow transition.

Retrieves transition information for a single workflow transition.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| workflowName | string | Yes | The name of the workflow. |
| transtionName | string | Yes | The name of the transition. (Example: Start Progress) |

## Return Type

**[JWorkflowAction []](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117)**

Returns an array of transition objects for a transition of a given name.

## Example

```
string workflowName = "Software Simplified Workflow for Project TEST";
string transtionName = "Create";
JWorkflowAction[] actions = getWorkflowTransition(workflowName, transtionName);
return actions;

// String representation
// Create|||com.atlassian.jira.workflow.validator.PermissionValidator|com.atlassian.jira.workflow.function.issue.IssueCreateFunction|com.atlassian.jira.workflow.function.issue.IssueReindexFunction|com.atlassian.jira.workflow.function.event.FireIssueEventFunction
```

## See also

> Macro (contentbylabel)