CloudAssessSpec

Contents

General
CloudAssessSpec
CollegePreferenceService
CsvBuilder
DocumentService
DocumentSpec
EmailSpec
ExportSpec
MailchimpSpec
Mask
Money
Preferences
QualityResultSpec
ReportSpec
SmsSpec
SystemUserService
Database objects
ACLAccessKey
ACLRole
Account
AccountTransaction
Application
Article
ArticleProduct
Assessment
AssessmentClass
AssessmentSubmission
AttachmentData
Attendance
Banking
Certificate
ClassCost
ConcessionType
Contact
ContactRelation
ContactRelationType
CorporatePass
CorporatePassCourseClass
CorporatePassProduct
Country
Course
CourseClass
CourseClassTutor
CourseModule
CustomField
CustomFieldType
DefinedTutorRole
Discount
DiscountConcessionType
DiscountCourseClass
DiscountMembership
DiscountMembershipRelationType
Document
DocumentVersion
EmailTemplate
Enrolment
EntityRelation
ExportTemplate
Field
FieldConfiguration
FieldConfigurationScheme
FieldHeading
FundingSource
FundingUpload
FundingUploadOutcome
Import
Invoice
InvoiceDueDate
InvoiceLine
InvoiceLineDiscount
Language
Membership
MembershipProduct
Message
MessagePerson
Module
Note
Outcome
PayLine
PayRate
PaymentIn
PaymentInLine
PaymentMethod
PaymentOut
PaymentOutLine
Payslip
Preference
PriorLearning
Product
ProductItem
Qualification
Report
ReportOverlay
Room
SavedFind
Script
Session
SessionModule
Site
Student
StudentConcession
Survey
SystemUser
Tag
TagRelation
TagRequirement
Tax
TrainingPackage
Tutor
TutorAttendance
UnavailableRule
Voucher
VoucherPaymentIn
VoucherProduct
WaitingList
Enumerations
AccountTransactionType
AccountType
ApplicationStatus
AttachmentInfoVisibility
AttachmentSpecialType
AttendanceType
AvetmissStudentDisabilityType
AvetmissStudentEnglishProficiency
AvetmissStudentIndigenousStatus
AvetmissStudentLabourStatus
AvetmissStudentPriorEducation
AvetmissStudentSchoolLevel
ClassCostFlowType
ClassCostRepetitionType
ClassFundingSource
ClientIndustryEmploymentType
ClientOccupationIdentifierType
ConfirmationStatus
ContactDuplicateStatus
CourseClassAttendanceType
CourseEnrolmentType
CreditCardType
CreditLevel
CreditProviderType
CreditType
DeliveryMode
DeliverySchedule
DiscountType
EnrolmentStatus
EnrolmentVETFeeHelpStatus
EntityRelationType
ExpiryType
FieldConfigurationType
InvoiceType
KeyCode
KeyCollision
MessageStatus
MessageType
MoneyRounding
NodeSpecialType
OutcomeStatus
PaymentSource
PaymentStatus
PaymentType
PayslipStatus
PostcodeType
ProductStatus
ProductType
QualificationType
RecognitionOfPriorLearningIndicator
StudentCitizenship
StudentStatusForUnitOfStudy
StudyReason
SurveyTypeSource
SurveyVisibility
TriggerType
UsiStatus
VETFeeExemptionType
VoucherPaymentStatus

Integration allows us to establish interaction between CloudAssess and onCourse enrol system. 1. Add enrolments to CloudAssess automatically as they are enrolled in onCourse.

cloudassess {
    name "cloud assess integration 1"
    action "enrol"
    enrolment e
}

Name property here is the name of CloudAssess integration which should be created in onCourse beforehand. 2. Specify a CloudAssess course code which is different to the onCourse course code with the options 'code' parameter.

cloudassess {
    name "cloud assess integration 1"
    action "enrol"
    enrolment e
    code "ABCT.2017"
}

3. Create a course in CloudAssess.

cloudassess {
    name "cloud assess integration 1"
    action "course"
    courseName "ISH Test Course 1"
    code "ABCT.2017"
    qualification "SITHFAB201"
}

This syntax will create a course with the name and code as specified. CloudAssess has a concept of "qualification" which is different to the onCourse Qualification. In CloudAssess it represents something more like a "course template". If this course code already exists in CloudAssess, then this script does nothing and doesn't throw an error. Because CloudAssess doesn't cope well with thousands of enrolments in a single course, this feature is useful to split up enrolments into one CloudAssess course per month (or any other period). 4. Fetch outcomes from CloudAssess

updated_outcomes = cloudassess {
    name "cloud assess integration 1"
    action "outcomes"
    since now - 7
}

This will return a list of outcomes modified in CloudAssess in the last 7 days. These outcomes are in a different context to the one the script runs in, so you'll need to copy them across in order to save the data in onCourse.

updated_outcomes.each() { o ->
    def o1 = args.context.localObject(o)
    o1.status = o.status
}
args.context.commitChanges()

 
        public 
        CloudAssessSpec
     {
}

Instance methods

action(action)

Set CloudAssess action: "enrol" is only supported at this time.

String action

list action string

code(code)

String code

Documentation not yet available

courseName(courseName)

String courseName

Documentation not yet available

enrolment(enrolment)

Set enrolment which will be created in CloudAssess.

Enrolment enrolment

integrating enrolment

name(name)

Specify name of CloudAssess integration in onCourse.

String name

name of CloudAssess integration in onCourse

qualification(qualification)

String qualification

Documentation not yet available

since(since)

Date since

Documentation not yet available