# Selecting variable inside an interactive Form

**URL:** <https://developer.sailpoint.com/discuss/t/selecting-variable-inside-an-interactive-form/111788>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud\
**Created:** [April 15, 2025, 9:45am UTC](https://developer.sailpoint.com/discuss/t/selecting-variable-inside-an-interactive-form/111788 "2025-04-15T09:45:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![s\_tartaglione](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@s\_tartaglione](https://developer.sailpoint.com/discuss/u/s_tartaglione)\
**Post date:** [April 15, 2025, 9:45am UTC](https://developer.sailpoint.com/discuss/t/selecting-variable-inside-an-interactive-form/111788/1 "2025-04-15T09:45:51Z")

</div>

Hello everyone, I 've a requirement to satisfy in which I have to implement a costum “Request for others” via a costum form. I created a workflow in which I defined the variable company1Code and company2Code of the identity that is launching the form:

 ![w1](https://global.discourse-cdn.com/sailpoint/original/3X/9/6/9699650b8beecf72fbfe49c8a1338b60adaf87c7.png)  
The point is that inside that Form I want to limit the “request for others” only for those one that have the same company1Code or company2Code.  
 ![form_search](https://global.discourse-cdn.com/sailpoint/original/3X/6/b/6b5ce9d62c248c0e94ffb124e957463d59a42b3a.png)  
i’m trying to use the search with the inline variable as defined in the screen but this is not working, also I tried to search “\*” and adding filters, but it is not displaying nothing. Anyone that is experienced with forms can please help me?

---

<div class="post-metadata">

**Author:** ![jlee555](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/jlee555/32/23770_2.png) [@jlee555](https://developer.sailpoint.com/discuss/u/jlee555)\
**Post date:** [April 15, 2025, 1:55pm UTC](https://developer.sailpoint.com/discuss/t/selecting-variable-inside-an-interactive-form/111788/2 "2025-04-15T13:55:16Z")

</div>

I don’t think it’s possible to do that kind of thing in Form.  
I believe it would be simpler to check those attributes before the Form step, using a Compare Strings action.

---

<div class="post-metadata">

**Author:** ![s\_tartaglione](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@s\_tartaglione](https://developer.sailpoint.com/discuss/u/s_tartaglione)\
**Post date:** [April 15, 2025, 2:02pm UTC](https://developer.sailpoint.com/discuss/t/selecting-variable-inside-an-interactive-form/111788/3 "2025-04-15T14:02:04Z")

</div>

hmmm okok, but with a compare string I have to put all the cases inside it, it is not flexible…

---

<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 14, 2025, 2:02pm UTC](https://developer.sailpoint.com/discuss/t/selecting-variable-inside-an-interactive-form/111788/4 "2025-06-14T14:02:22Z")

</div>

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