I want to use “Each For” activity using Array variable.
but, i dont know how to assign to array variable.
let me know …plz…
example, something like normal program language.
ITEMS[3] = { “a”, “b”, “c”}
for each ITEM in ITEMS
{
if ITEM equal “Something” {
}
}
mkankatala
(Mahesh Kankatala)
August 7, 2023, 4:58am
3
Hi @yuppiensimpson
=> Assign - ITEMS (Array of String) = {“a”,“b”,“c”}
=> Use for each activity to iterate the Array Variables ITEMS.
=> Inside for each use If condition to check the condition.
- Condition -> CurrentItem.Equals("Matched Value").toString
=> If the condition matches then bot will go to then condition. Inside then condition you can place another activities to proceed further.
Hope it helps!!
1 Like
is it studioX ? i think it studio.
2023년 8월 7일 (월) 오후 2:07, Varunraj via UiPath Community Forum <notifications@uipath.discoursemail.com >님이 작성:
1 Like
Anil_G
(Anil Gorthi)
August 7, 2023, 5:10am
6
@yuppiensimpson
In studio or studiox
You can use for each activity and then add the array in the in items fields
Then inside loop use currentitem to get each value
Cheers
1 Like
vrdabberu
(Varunraj Dabberu)
August 7, 2023, 5:20am
7
@yuppiensimpson
Here is the logic for StudioX
Hope it helps!!
1 Like
Thank for your support…great…
1 Like
system
(system)
Closed
August 10, 2023, 6:15am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.