Skip completed workflows

Add API calls for checking workflow completeness
Skip grading/training tasks if the workflow is already complete.