OSID Logo
OSID Specifications
workflow package
Version 3.1.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.TypeworkRecordType the type of work record to retrieve
Returnosid.workflow.records.WorkRecord the work record
ErrorsNULL_ARGUMENT workRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(workRecordType) is false
Compliancemandatory This method must be implemented.