I have some values saved in a variable and would want to pass those values to the next empty row on the StudentName row and then also fill other values side by side on the same row. I previously tried reading next available row in each column but it inputs those values into the wrong row on other columns.
Check with if condition in the for each loop
String.IsNullorEmpty(Currenrow(“YourColumnname”).toString)
then
assign1:Currentrow(“YourColumnname”) = “value1”
assign2:Currentrow(“YourColumnname”) = “value2”
Use append range activity in your workflow
->Loop through the rows of datatable using a “For Each Row” activity.
->Inside the loop, use an “If” condition to check if the “StudentName” column is empty for the current row. You can access the value of the “StudentName” column using row("StudentName").ToString
.
hope it helps
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.