Hey,
I have a strange error which seems to happen from time to time and was wondering if there is anyway to solve it.
I have templates using table processing which when started take the last line from a .txt file and append a line to the .txt file once completed.
The issue I have is that sometimes when the template finishes and is run again, it does not get the new last line added to the .txt file.
This is a bit confusing to explain so I'll try:
File lines:
line 1
line 2
Template run #1 > gets last line (line 2) from txt file > adds 'line 3' to txt file > finished
File lines:
line 1
line 2
line 3
Template run #2 > gets last line (line 3) from txt file > adds 'line 4' to txt file > finished
File lines:
line 1
line 2
line 3
line 4
Template run #3 > gets last line (line 3) from txt file > adds 'line 5' to txt file > finished
File lines:
line 1
line 2
line 3
line 4
line 5
Template run #4 > gets last line (line 5) from txt file > adds 'line 6' to txt file > finished
As you can see it takes the wrong line in the third execution. I've been using the 'Get rows count' feature to determine where the last line is in the .txt file.
Thanks for any help
I have a strange error which seems to happen from time to time and was wondering if there is anyway to solve it.
I have templates using table processing which when started take the last line from a .txt file and append a line to the .txt file once completed.
The issue I have is that sometimes when the template finishes and is run again, it does not get the new last line added to the .txt file.
This is a bit confusing to explain so I'll try:
File lines:
line 1
line 2
Template run #1 > gets last line (line 2) from txt file > adds 'line 3' to txt file > finished
File lines:
line 1
line 2
line 3
Template run #2 > gets last line (line 3) from txt file > adds 'line 4' to txt file > finished
File lines:
line 1
line 2
line 3
line 4
Template run #3 > gets last line (line 3) from txt file > adds 'line 5' to txt file > finished
File lines:
line 1
line 2
line 3
line 4
line 5
Template run #4 > gets last line (line 5) from txt file > adds 'line 6' to txt file > finished
As you can see it takes the wrong line in the third execution. I've been using the 'Get rows count' feature to determine where the last line is in the .txt file.
Thanks for any help
