For example there is an array {“1”,“domain”,“18”,“%”}
looping through this above array and i want to find the (currentitem-1)th string from the above array.Pls help anyone
HI @ASWATHY_K
Add assign as the last activity of for each
Create a variable PreviousItem = Item.ToString
Then in your second iteration you will have the last item in the Previousitem variable
Regards
Sudharsan
can you pls explain , i didn"t get
In first iteration you will do the steps before and at the last Previousitem will be 1
Now moving to second iteration your previous item variable will contains 1 until the last assign executed
Hope you understand
Regards
Sudharsan
Here the previous item and current item are same
Yes it will be same in the first iteration, During the second iteration current item will be “domain” and the previous item will be “1” @ASWATHY_K
for me in all iteration current item and previous are same
Can you share the workflow screenshot? @ASWATHY_K
Thanks , This is working
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.