---
title: Example – Using Quick Action Variables in Expressions (GAD)
slug: neurons-for-itsm/admin-user-help/enu/latest/example-using-quick-action-variables-in-expressions-gad
createdAt: 2026-07-14T19:16:39.170Z
---

**Role**: Administrator.

**Minimum Version**: Ivanti Neurons for ITSM 2024.4.

**Feature Eligibility**: To use these Quick Actions, set the global constant **EnableActionService&#x20;**&#x74;o **True**.

This example shows how to store a user’s response from a prompt into a **Quick Action variable** and then display that response in a pop-up message. When using a variable inside an expression (for example, concatenating text), you may need to convert the variable value to text using ToString().

**Procedure**

1. Log into the Service Desk console as an Administrator.
2. Select any incident from the **Incident** workspace.
3. Go to **More** menu > **Edit Actions** > Graphical Action Designer.
4. Drag the **Update Variables and Stored Values** block from the **Advanced Actions**.
5. Click **Editor** in the side-panel.
6. Add a variable with the following values:

:::Paragraph{indent="1"}
a. **Variable Type**: Variable
:::

:::Paragraph{indent="1"}
b. **Name**: YesOrNo
:::

:::Paragraph{indent="1"}
a. **Type**: Text
:::

:::Paragraph{indent="1"}
b. **Value**: $(Prompt("prompt","YesNo"))
:::

7. Add a **Show a Popup** block after the **Update Stored Values and Variables** block.

:::Paragraph{indent="1"}
a. In the **Show a Popup**'s configuration, set **Contents** to: $("YesNo response is " + ToString(Variable("YesOrNo"))).
:::

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/fKiq1JhlQWg8BAgTglx5K_gadpromptactionnew.png" position="flex-start" size="40" initialPath="../../quick-actions-images/gad_prompt_action_new.png" githubPath="Content/Configure/QuickActions/quick-actions-images/gad_prompt_action_new.png" showCaption="false" width="574" height="537" darkWidth="574" darkHeight="537" indent="2"}

8. Save the action and execute it from **More** menu > **No Category** > select the action name in the incident form page.
