Workflow Class

This class exposes general services to the workflow infrastructure.

class Workflow

Run On

Called

Methods

Method

Description

cancelTimeOut

Cancels a previous method call to the Object::setTimeOut Method. (Inherited from Object.)

equal

Determines whether the specified object is equal to the current one. (Inherited from Object.)

getTimeOutTimerHandle

Returns the timer handle for the object. (Inherited from Object.)

handle

Retrieves the handle of the class of the object. (Inherited from Object.)

new

Initializes a new instance of the Object class.. (Inherited from Object.)

notify

Releases the hold on an object that has called a wait method on this object. (Inherited from Object.)

notifyAll

Releases a lock on the object that was issued by a wait method on this object. (Inherited from Object.)

objectOnServer

Determines whether the object is on a server. (Inherited from Object.)

owner

Returns the instance that owns the object. (Inherited from Object.)

setTimeOut

Sets up the scheduled execution of a specified method. (Inherited from Object.)

toString

Returns a string that represents the current object. (Inherited from Object.)

usageCount

Returns the current number of references (the value of the reference counter) that the object has. (Inherited from Object.)

wait

Pauses a process. (Inherited from Object.)

xml

Returns an XML string that represents the current object. (Inherited from Object.)

::activateFromWorkflowConfigurationId

Activates a workflow based on a workflow configuration ID.

::activateFromWorkflowSequenceNumber

Activates a workflow based on a workflow sequence number.

::activateFromWorkflowTemplate

Activates a workflow based on a workflow template name.

::cancelWorkflow

Cancels a workflow instance.

::evaluateWorkflowActivationCondition

Evaluates the activation condition for a workflow configuration.

::findLastTrackingRecordForWorkItem

Finds the previous action taken (from the workflow tracking table) for the current work item.

::findLastWorkflowTrackingRecord

Finds the last tracking record for the workflow instance that is identified by the correlation parameter.

::findTrackingStatusForCurrentUser

Attempts to find a workflow instance for the workflow enabled record where the current user is the workflow originator.

::findWorkflowConfigToActivateForTemplate

Finds a workflow configuration to activate based on a workflow template name and a workflow enabled record.

::findWorkflowConfigurationToActivate

Finds a workflow configuration to activate based on a workflow enabled record.

::findWorkItemsForCurrentUser

Finds all work items that are assigned to the current user for the workflow enabled record.

::getDocumentAsUser

::getDocumentRecord

::getDocumentTableId

::resumeWorkflow

Resumes a workflow instance from a faulted state.