I am having list of states like ( tamilnadu, Mumbai, Kerala, Kolkata , Punjab, Delhi)
I am having excel sheet column name state with multiple state names.
In IF CONDITION I have to put above mentioned 6 state in one list and compare in excel state values of it is present then only do further otherwise nothing to do.
How to put (tamilnadu, Mumbai, Kerala, Kolkata , Punjab, Delhi) this six state in collection to check if condition any one help
Read the excel sheet and store it in a datatable. Use for each row in datatable activity to loop the State column name. In the loop use the for each activity to loop through the List collection of states. Then use the If condition to compare the Excel sheet column state with the collection of states. If it matches develop the further that you want in then bloclk, if it doesn’t match it will go to else block
If you have a fixed list of items, then go for an array variable.
You can initialize the array and add values to it using assign activity.
arrayVar= = {“tamilnadu”, “Mumbai”, “Kerala”, “Kolkata”, “Punjab”, “Delhi”}