The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Hi all,
I am trying to figure out how to identify if an assignment grade is visible to a student (posted) using CD2 data.
The submissions table workflow state only has a 'graded' state but that doesn't identify if it is available to students.
Any help will be much appreciated!
Thanks 🙂
Solved! Go to Solution.
I typically use the posted_at field in the submissions table to determine if a grade has been posted. If the field is null, it means the grade hasn't been posted yet. If there's a timestamp value, that indicates when the grade was released to the student.
For example:
SELECT * FROM submissions WHERE posted_at IS NOT NULL AND assignment_id = '<your_assignment_id>';
This query returns all submissions for the specified assignment where the grade has been posted.
I typically use the posted_at field in the submissions table to determine if a grade has been posted. If the field is null, it means the grade hasn't been posted yet. If there's a timestamp value, that indicates when the grade was released to the student.
For example:
SELECT * FROM submissions WHERE posted_at IS NOT NULL AND assignment_id = '<your_assignment_id>';
This query returns all submissions for the specified assignment where the grade has been posted.
Thank you ESheta!
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in