Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

mod_assign_set_user_flags?

$
0
0
by Jerry West.  

[Cross post from the Assignment forum, sorry]

I want to trigger the release of assignments using marking workflow through the web services API.

I know can set the workflowstate through mod_assign_set_user_flags, but that seems only to update the database.  Is that enough?  Will the change be picked up by cron and trigger the event?  My small scale tests suggest not...

I can also change the state by using mod_assign_save_grades but I don't want to alter any of the existing grade data - just set the state and trigger the event that updates the grade-book, sets student visibility etc.

Do I have to get_user_grades, copy everything across and set_user_grades to achieve this?  Or is there a general way to trigger events using the WS API?

Any thoughts?

Many thanks,
   Jerry


Viewing all articles
Browse latest Browse all 2361

Trending Articles