OSID Logo
OSID Specifications
workflow package
Version 3.0.0
Release Candidate Preview
Interfaceosid.workflow.Work
Implementsosid.OsidObject
Description

Work moves through Steps in a workflow.

MethodgetWorkRecord
Description

Gets the work record corresponding to the given Work record Type. This method is used to retrieve an object implementing the requested record. The workRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(workRecordType) is true .

Parametersosid.type.TypeworkRecordTypethe type of work record to retrieve
Returnosid.workflow.records.WorkRecordthe work record
ErrorsNULL_ARGUMENT workRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(workRecordType) is false
CompliancemandatoryThis method must be implemented.