Automatically move data rows to "Rework" status?

For my annotation project we have written some simple logic to validate that annotations have been done correctly. Usually the reviewer catching invalid annotations and rejects, but sometimes errors slip through the cracks. Today we apply our validation rules when importing annotations that are “Done”, note any errors in our database, and then fix any errors that we find.

What I’d love to be able to do is to use the API to analyze annotations “In Review” with our validation logic and in case of an invalid annotation automatically move the data row to “Rework” status. It’s unclear to me if this is possible though, and how I would do it using the API.

Is something like this possible?

I have answered my own question I think. It looks like I can use this command to move data rows to a specific workflow, so we should be able to fetch annotations for all data rows in “In Review” status, run our validation logic, and move any erroneous rows to “Re-work” status.

1 Like