I believe you are trying to access 7th row and not 7th column
Please check the number of rows in the data table. If it contains only 7 row - the index will be starting from 0 till 6. This could be the reason why you are getting error when you try to fetch details from 7th row using index figure 7
Check the number of rows and dynamically allocate values till the index ends
Hi @Binti_Sulaiman_Nurulain_A , if you are trying to extract information from a document using different regex strings, use the For Each Row in Data Table activity, then get the regex using CurrentRow("Regex").ToString.
Hi @Binti_Sulaiman_Nurulain_A , currently you have a datatable with 3 columns- Field, Regex and Value. I am assuming you want to match the document with Regex and write the result to the Value field?
Use For Each Row in Data Table activity and select dtData as the detatable
Now you get a single row per iteration
For the Find Matching Patterns, use CurrentRow(“Regex”).ToString as the regex pattern
Under the Find Matching Patterns → Properties, you can directly fill in the First Match to fill the datatable: CurrentRow(“Value”)