Contents
Definition of script instance. onCourse supports scripts written in Groovy programming language. Scripts can be executed on demand or scheduled to be executed at certain time (cron schedule) or when certain event happens (record creation/removal, new enrolment etc.) onCourse has variety of pre defined scripts to satisfy common needs but also allows users to add their own scripts to solve specific problems.
public Script {
}
the date and time this record was created
cron schedule for this script
true if this script is enabled
name of entity whose change triggers this script
entoty event type which triggers this script: "create", "update", "remove" or "create or update"
the date and time this record was modified
name of this script
script content
this script's trigger type: on demand, cron, entity evet or onCourse event