OSID Logo
OSID Specifications
workflow package
Version 3.0.0
Interfaceosid.workflow.Work
Implementsosid.OsidObject
Used Byosid.workflow.WorkAdminSession
osid.workflow.WorkList
osid.workflow.WorkLookupSession
osid.workflow.event.WorkflowEvent
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_ARGUMENTworkRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(workRecordType) is false
CompliancemandatoryThis method must be implemented.