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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getWorkflowsFromSchemeName(workflowSchemeName) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves a list of workflows associated to a workflow scheme.

Retrieves a list of workflows associated to a workflow scheme.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| workflowSchemeName | string | Yes | The name of the workflow scheme. |

## Return Type

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

Returns a list workflow objects representing workflows associated to a given workflow scheme.

## Example

```
string workflowSchemeName = "TEST: Software Simplified Workflow Scheme";
JWorkflow[] workflows = getWorkflowsFromSchemeName(workflowSchemeName);

return workflows;

// String representation
// 10100|Software Simplified Workflow for Project TEST|live|User Built|Default|true|To Do|In Progress|Done|Create|To Do|In Progress|Done|10600|Software Simplified Workflow for Project DEMO|live|User Built|10000|true|To Do|In Progress|Done|Create|To Do|In Progress|Done|Clone Epic
```

## See also

> Macro (contentbylabel)