Workflow Class [AX 2012]
The Workflow class exposes general services to the workflow infrastructure.
Syntax
class Workflow
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the 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 the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the 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, that is, 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. | |
::activateFromWorkflowType | Activates a workflow from a specified 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. | |
::findTrackingStatusForDocument | Finds a workflow instance for the workflow enabled record. | |
::findWorkflowConfigToActivateForType | Finds a workflow to open from a specified workflow template name and a workflow enabled record. | |
::findWorkflowConfigurationToActivate | Finds a workflow to enable based on a workflow enabled record. | |
::findWorkItemsForCurrentUser | Finds all work items that are assigned to the current user for the workflow enabled record. | |
::getDocumentTableId | ||
::internalFindWorkItemsForCurrentUser | Retrieves all the work items that are assigned to the current user for the workflow-enabled record. | |
::recallWorkflow | Recalls a line item workflow instance. | |
::resumeWorkflow | Resumes a workflow instance from a faulted state. |
Top
Inheritance Hierarchy
Object Class
Workflow Class