# How it is possible to change a variable inside a workflow^

**URL:** <https://developer.sailpoint.com/discuss/t/how-it-is-possible-to-change-a-variable-inside-a-workflow/107645>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security\
**Created:** [April 4, 2025, 9:05am UTC](https://developer.sailpoint.com/discuss/t/how-it-is-possible-to-change-a-variable-inside-a-workflow/107645 "2025-04-04T09:05:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jesvin90](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/jesvin90/32/5301_2.png) [@jesvin90](https://developer.sailpoint.com/discuss/u/jesvin90)\
**Post date:** [April 4, 2025, 11:55am UTC](https://developer.sailpoint.com/discuss/t/how-it-is-possible-to-change-a-variable-inside-a-workflow/107645/3 "2025-04-04T11:55:47Z")

</div>

Hi @s_tartaglione,

The variables inside a loop cannot be accessed outside of it. Also, take a look at the loop operator description [here](https://documentation.sailpoint.com/saas/help/workflows/workflow-operators.html#loop). The loop items are run alongside any subsequent steps in the WF, so any additional steps after the loop operation is not expected to work.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/5/b/5b6b76cab320d290c08e9fb79e8c1fb4e3a4141a.png)

Take a look at [this](https://developer.sailpoint.com/discuss/t/workflow-issue-with-define-variable-operator/21628/2) thread too for more details.

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/how-it-is-possible-to-change-a-variable-inside-a-workflow/107645)._
