Write Row activity of Google Spreadsheets overwrites the header row also

I am following the Control Flow in Studio web module. When I use the Write Row activity for google sheets as directed in the guide steps with Overwrite and Headers available, it is not behaving as expected.

  1. When the existing columns (already filled columns) are not mapped under the column mappings of Individual fields, it replaces the existing data cell with blank cells and writes the new columns on the respective columns.

  1. So I mapped the exisitng columns as well, then those values are also written. But in both cases data is written starting from the 1st row itself, by overwriting the headers row. I tried by setting Row Position field with CurrentRowIndex, CurrentRowIndex + 1, Sheets row index. But nothing works.

What am I missing? Please help.

@urweeraratne

it looks like expected behaviour when you select overwrite..but header should be left ideally

try with row position as 1 and check

or delete the activity and readd or toggle has header to false and then to true again

cheers

Hi @Anil_G,
Tried by deleting and re-adding, changing the toggle, still the same.

@urweeraratne

that looks weird as when I try the same it works


just to make sure try to create new dummy project and check the same

cheers

Hi @Anil_G,

Actually I created new google sheet file and tried the same with new columns. Added a for each row activity and then just write row activity inside the loop with hardcoded values for Col_3 and Col_4. But it is behaving the same.

Also, I tried by just adding a write row activity without the for each row and providing hardcoded values to the overwrite column values, then it just clears the respective row cells. Doesn’t write the new values.



I have uploaded my sample project and test file as well. If the same project works for you correctly, then is there a problem with my connection?

Excel Overwrite.uis (55.6 KB)
Test Overwrite.xlsx (6.4 KB)