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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admAddScreenToTransition(workflow, transition, screen) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | addScreenToTransition(workflow, transition, screen) |

## Description

> Macro (excerpt)
> 
> Sets the screen for a workflow transition.

Sets the screen for a workflow transition.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| workflow | String | Yes | Workflow name. |
| transition | String | Yes | Transition name or id. |
| screen | String | Yes | Screen name. |

## Return Type

**Boolean (true/false)**

Returns 'true' if the screen was set on the workflow transition and 'false' otherwise.

## Example

```
admAddScreenToTransition("My workflow", "Start Progress", "Default Screen");
```

The "Default Screen" will be set on the "Start Progress" transition for the workflow "My Workflow".

> ⚠️ You cannot set a transition screen for the system workflow, as it is not editable. If the workflow is active and already has a draft, the transition screen will only be set on the draft workflow, so you will need to publish the draft for the changes to take effect.

## See also

> Macro (contentbylabel)