WAPIWORK is the object handle of a workflow. It is used in the WAPI functions for workflow manipulation operations.


Instance Attributes Index

 o pWORKID
The unique ID for the workflow.
 o pDATEDUE_MIN
The minimum possible due date for the workflow.
 o pDATEDUE_MAX
The maximum possible due date for the workflow.
 o pDATEINITIATED
The date the workflow was initiated.
 o pDATECOMPLETED
The date the workflow was completed.
 o pOWNERID
The ID of the user who initiated the workflow.
 o pMANAGERID
The ID of the manager of the workflow.
 o pSTATUS
The status of the workflow.
 o pTITLE
The title of the workflow.
 o pPROJECT
The project identifier for a workflow.
 o pUSERDATA
Stored data that can be used by the workflow.
 o pCUSTOMDATA
Stored data from customization that can be used by the workflow.

Instance Attributes

 o pWORKID
 Integer pWORKID
The unique ID for the workflow. The column in the WWork table is Work_WorkID.
 o pDATEDUE_MIN
 Date pDATEDUE_MIN
The minimum possible due date for the workflow. There is a minimum and maximum possible due date because a workflow can have multiple paths that can be taken based on conditional routing. The column in the WWork table is Work_DateDue_Min.
 o pDATEDUE_MAX
 Date pDATEDUE_MAX
The maximum possible due date for the workflow. There is a minimum and maximum possible due date because a workflow can have multiple paths that can be taken based on conditional routing. The column in the WWork table is Work_DateDue_Max.
 o pDATEINITIATED
 Date pDATEINITIATED
The date the workflow was initiated. The column in the WWork table is Work_DateInitiated.
 o pDATECOMPLETED
 Date pDATECOMPLETED
The date the workflow was completed. The column in the WWork table is Work_DateCompleted.
 o pOWNERID
 Integer pOWNERID
The ID of the user who initiated the workflow. The column in the WWork table is Work_OwnerID.
 o pMANAGERID
 Integer pMANAGERID
The ID of the manager of the workflow. The column in the WWork table is Work_ManagerID.
 o pSTATUS
 Integer pSTATUS
The status of the workflow. The column in the WWork table is Work_Status. The possible values for the status are:
WAPI.WORK_STATUS_ARCHIVED
WAPI.WORK_STATUS_EXECUTING
WAPI.WORK_STATUS_DONE
WAPI.WORK_STATUS_STOPPED
WAPI.WORK_STATUS_SUSPENDED
 o pTITLE
 String pTITLE
The title of the workflow. The column in the WWork table is Work_Title.
 o pPROJECT
 String pPROJECT
The project identifier for a workflow. The column in the WWork table is Work_Project.
 o pUSERDATA
 Dynamic pUSERDATA
Stored data that can be used by the workflow. The column in the WWork table is Work_UserData.
 o pCUSTOMDATA
 Dynamic pCUSTOMDATA
Stored data that can be used by the workflow. This field is used to store data that is needed for customizations. The column in the WWork table is Work_CustomData.