318
Views
6
Comments
How to make list from structure attribute
Question

Hi I have structure like {1,2,3 } need to make list so that I can use as foreach

UserImage.jpg
Puja Rani

Hi,

Not sure if I get clearly, but are you trying to create a list variable with your structure. In your local variable data type search list then this popup appears and then select your structure , local variable will become list of structure

2023-01-26 16-03-24
Ana Agostinho

Hello Vivek, 

Could you please clarify your question so that I can better understand what you're asking? 

Best regards, 

Ana

UserImage.jpg
Vivek Pandurang Pandile

Hi I have one structure whose attribute value is 1,2 ,3. I want to make record list for those attribute value so that I can use those value for foreach loop.

2025-12-04 09-01-03
Kiet Phan
Champion

Hello Vivek, 

1. In Data Tab, Create your Custom Structure

2. Then Create a List Variable of that Structure like this

3. Add Element to List by ListAppend action


Best regards

2023-05-08 05-34-05
Piyali Saha

Hello Vivek,

You need to type the name or select the structure created by you in the data type of new local variable created then select the data type text and type list and select list from suggestions after that popup will appear to select the structure for your list as yo have already selected the structure you have created hence it will already be selected just click on select. This will create a local list variable with the structure you have created. 

If you need more explanation, I will get back to you with a demo oml.

Thanks & regards.

2023-10-27 12-06-14
Asiyah Munawwar

Hi Vivek Pandurang Pandile,

Create a local variable and set its type to list of your structure for example "list of Structire 1".

Then you can use that list type local variable for the iteration.

Regards


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.