# ISC : Define Variable

**URL:** <https://developer.sailpoint.com/discuss/t/isc-define-variable/185669>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud\
**Created:** [October 20, 2025, 6:57am UTC](https://developer.sailpoint.com/discuss/t/isc-define-variable/185669 "2025-10-20T06:57:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllIT](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@AllIT](https://developer.sailpoint.com/discuss/u/AllIT)\
**Post date:** [October 20, 2025, 6:57am UTC](https://developer.sailpoint.com/discuss/t/isc-define-variable/185669/1 "2025-10-20T06:57:23Z")

</div>

Hello All,

Is there a way to create a variable of type _Array_ in a workflow?

My requirement is to define a hardcoded list of elements in the array and then iterate over each element within the workflow.

Thanks,  
Anirban

---

<div class="post-metadata">

**Author:** ![MattUribe](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/matturibe/32/20300_2.png) [@MattUribe](https://developer.sailpoint.com/discuss/u/MattUribe)\
**Post date:** [October 20, 2025, 2:08pm UTC](https://developer.sailpoint.com/discuss/t/isc-define-variable/185669/2 "2025-10-20T14:08:19Z")

</div>

According to the documentation:

“All variable output types are string unless the last applied operation is Get Index. If Get Index is the last operation, the output type is an integer.”

> **[Workflow 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:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [December 19, 2025, 2:09pm UTC](https://developer.sailpoint.com/discuss/t/isc-define-variable/185669/3 "2025-12-19T14:09:18Z")

</div>

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