# Loop Input Inline Variable in Workflows

**URL:** <https://developer.sailpoint.com/discuss/t/loop-input-inline-variable-in-workflows/104861>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [March 19, 2025, 6:19pm UTC](https://developer.sailpoint.com/discuss/t/loop-input-inline-variable-in-workflows/104861 "2025-03-19T18:19:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bozhidarkostov](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/bozhidarkostov/32/29245_2.png) [@bozhidarkostov](https://developer.sailpoint.com/discuss/u/bozhidarkostov)\
**Post date:** [March 19, 2025, 6:19pm UTC](https://developer.sailpoint.com/discuss/t/loop-input-inline-variable-in-workflows/104861/1 "2025-03-19T18:19:57Z")

</div>

Hi All,

is it possible to use inline variables in the Loop Input field for the Loop Operator? I’ve tried different options and it seems not possible?

Not Working:

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

Working:

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/c/2/c20e4edd0113004fd68220af86b0ff9cbf9d615f.png)

If this is not possible is there other way how can I achieve this?

Workflow:  
[AutoapprovedRequestsbyBK20250319.json](https://developer.sailpoint.com/discuss/uploads/short-url/bl2jq63gJtT6OjuUuwrsaEmhQfO.json) (4.5 KB)

---

<div class="post-metadata">

**Author:** ![kdfreeman](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kdfreeman/32/22737_2.png) [@kdfreeman](https://developer.sailpoint.com/discuss/u/kdfreeman)\
**Post date:** [March 19, 2025, 6:23pm UTC](https://developer.sailpoint.com/discuss/t/loop-input-inline-variable-in-workflows/104861/2 "2025-03-19T18:23:54Z")

</div>

If that is not working, use the “`Define Variable`” operator inside the loop and store the value that you are trying as an inline variable in that “`Defina Variable`” operator. And use that variable instead. That should also work.

> **[Operators - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/workflows/workflow-operators.html#define-variable)**
>
> SailPoint Identity Services Documentation

---

<div class="post-metadata">

**Author:** ![bozhidarkostov](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/bozhidarkostov/32/29245_2.png) [@bozhidarkostov](https://developer.sailpoint.com/discuss/u/bozhidarkostov)\
**Post date:** [April 2, 2025, 6:16am UTC](https://developer.sailpoint.com/discuss/t/loop-input-inline-variable-in-workflows/104861/4 "2025-04-02T06:16:11Z")

</div>

Thanks, that’s also work!.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [June 1, 2025, 6:16am UTC](https://developer.sailpoint.com/discuss/t/loop-input-inline-variable-in-workflows/104861/5 "2025-06-01T06:16:27Z")

</div>

Closed on June 1, 2025, 6:16am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
