OSID Logo
OSID Specifications
workflow event package
Version 3.0.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.DateTimethe timestamp
CompliancemandatoryThis method must be implemented.
MethodgetProcessId
Description

Gets the Id of the process.

Returnosid.id.Idthe process Id
CompliancemandatoryThis method must be implemented.
MethodgetProcess
Description

Gets the process.

Returnosid.workflow.Processthe process
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetWorkerId
Description

Gets the Id of the resource that caused this event.

Returnosid.id.Idthe resource Id
CompliancemandatoryThis method must be implemented.
MethodgetWorker
Description

Gets the resource that caused this event.

Returnosid.resource.Resourcethe resource
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetWorkingAgentId
Description

Gets the Id of the agent that caused this event.

Returnosid.id.Idthe agent Id
CompliancemandatoryThis method must be implemented.
MethodgetWorkingAgent
Description

Gets the agent that caused this event.

Returnosid.authentication.Agentthe agent
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetWorkId
Description

Gets the Id of the work.

Returnosid.id.Idthe work Id
CompliancemandatoryThis method must be implemented.
MethodgetWork
Description

Gets the work.

Returnosid.workflow.Workthe work
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis 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.

Returnbooleantrue if the work canceled, false if the work is associated with a step in this event
CompliancemandatoryThis 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.Idthe step Id
ErrorsILLEGAL_STATEdidCancel() is true
CompliancemandatoryThis method must be implemented.
MethodgetStep
Description

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

Returnosid.workflow.Stepthe step
ErrorsILLEGAL_STATEdidCancel() is true
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis 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.TypeworkFlowRecordTypethe type of workflow event record to retrieve
Returnosid.workflow.event.records.WorkflowEventRecordthe workflow event record
ErrorsNULL_ARGUMENTworkRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(workflowEventRecordType) is false
CompliancemandatoryThis method must be implemented.