cancel
Showing results for 
Search instead for 
Did you mean: 

SAP IRPA Check element in array

0 Kudos
649

I would like to check my value is already in array or not. How can I do this?

I tried to use .includes or .indexOf but it show me error.

Thank you.

View Entire Topic
Jerome
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Using Intelligent RPA 2.0 or 1.0 ?

Also, you need to provide more info about what you need to look for (content of your array). But using Javascript should help you (especially with the .indexOf method. What's the error you get ?)

Regards

J.

0 Kudos

Hi.

I used iRPA 2.0 and I tried to use method .indexOf of array to get position of my data in array but the debug tool show the error about this method cannot use.

Now, I created the function to loop through the array to check my data.

Thank you.

0 Kudos

Have the same issue, please advice

Jerome
Product and Topic Expert
Product and Topic Expert
0 Kudos

The 2103 release will provide built-in activities to manage list of items. Among them, you'll have an activity to find a specific value