CD2: course workflow states

Jump to solution
IanGoh
Community Contributor

Now that I have some CD2 data, I'm trying to understand it.

Maybe this is old hat to the CD1 folk.  But as I look at the Courses workflow_state they seem to be different than the API workflow_state

API

  • available
  • completed
  • deleted
  • unpublished

CD2

  • available
  • created
  • claimed
  • completed
  • deleted
  •  

Is there a mapping of workflow states, e.g., available (API)  = available (CD1/CD2) ?

TIA

Labels (2)
0 Likes
1 Solution

This is mostly correct. Claimed means there is an active "admin" enrollment in the course (enrollments based on Teacher / TA / Designer base roles) and the course is still unpublished. Created means that the course is unpublished but there is no active "admin" enrollment in the course. Enrollments are always associated to a section, so no sections will mean no enrollments at all. It may be possible to have a created workflow_state with sections if only students are enrolled and the course is still unpublished.

Also, the greatly improved freshness of the data in Canvas Data 2 should hopefully reduce the need to use the API to resolve such discrepancies.

View solution in original post