OSID Logo
OSID Specifications
workflow event package
Version 3.1.0
Interfaceosid.workflow.event.WorkflowEvent
Implementsosid.OsidObject
Used Byosid.workflow.event.WorkflowEventAdminSession
osid.workflow.event.WorkflowEventList
osid.workflow.event.WorkflowEventLookupSession
Description

A WorkflowEvent is a change in a workflow.

MethodgetTimestamp
Description

Gets the timestamp of this event.

Returnosid.calendaring.DateTime the timestamp
Compliancemandatory This method must be implemented.
MethodgetProcessId
Description

Gets the Id of the process.

Returnosid.id.Id the process Id
Compliancemandatory This method must be implemented.
MethodgetProcess
Description

Gets the process.

Returnosid.workflow.Process the process
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetWorkerId
Description

Gets the Id of the resource that caused this event.

Returnosid.id.Id the resource Id
Compliancemandatory This method must be implemented.
MethodgetWorker
Description

Gets the resource that caused this event.

Returnosid.resource.Resource the resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetWorkingAgentId
Description

Gets the Id of the agent that caused this event.

Returnosid.id.Id the agent Id
Compliancemandatory This method must be implemented.
MethodgetWorkingAgent
Description

Gets the agent that caused this event.

Returnosid.authentication.Agent the agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetWorkId
Description

Gets the Id of the work.

Returnosid.id.Id the work Id
Compliancemandatory This method must be implemented.
MethodgetWork
Description

Gets the work.

Returnosid.workflow.Work the work
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethoddidCancel
Description

Tests if this work event indicates the work has been canceled the workflow and is not associated with a step at the time of this event.

Returnboolean true if the work canceled, false if the work is associated with a step in this event
Compliancemandatory This method must be implemented.
MethodgetStepId
Description

Gets the Id of the step at which the work is in at the time of this event.

Returnosid.id.Id the step Id
ErrorsILLEGAL_STATE didCancel() is true
Compliancemandatory This method must be implemented.
MethodgetStep
Description

Gets the step at which the work is in at the time of this event.

Returnosid.workflow.Step the step
ErrorsILLEGAL_STATE didCancel() is true
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetWorkflowEventRecord
Description

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

Parametersosid.type.TypeworkFlowRecordType the type of workflow event record to retrieve
Returnosid.workflow.event.records.WorkflowEventRecord the workflow event record
ErrorsNULL_ARGUMENT workRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(workflowEventRecordType) is false
Compliancemandatory This method must be implemented.