ritesh_chauhan
11 years agoContributor
Table checckpoint getting failed if the table in the application gets empty
Assumptions: Tools>>Options>>Engines>>Stores>>Update Table Elements checkbox is set to true.
A table checkpoint exists for table -- "TableName".
Scenario1:
A. 2 records exist in the table.
B. Script Deletes 1 of the records.
C. "Tables.TableName.Check()" inside the script works fine.
Scenario2:
A. Single record in table.
B. Script Deletes the record.
C. "Tables.TableName.Check()" failed to update. Throws error in Logs "The table checkpoint "TableName" failed."
Please see to it.
I want that when table gets empty, the table checkpoint should not fail, and instead return false.
Because of this one thing whole script log shows as failed even if it is actually passed.
thanks,
Ritesh
A table checkpoint exists for table -- "TableName".
Scenario1:
A. 2 records exist in the table.
B. Script Deletes 1 of the records.
C. "Tables.TableName.Check()" inside the script works fine.
Scenario2:
A. Single record in table.
B. Script Deletes the record.
C. "Tables.TableName.Check()" failed to update. Throws error in Logs "The table checkpoint "TableName" failed."
Please see to it.
I want that when table gets empty, the table checkpoint should not fail, and instead return false.
Because of this one thing whole script log shows as failed even if it is actually passed.
thanks,
Ritesh