WAPISUBWORK is the object handle of a sub-workflow.
It is used in the WAPI functions for workflow manipulation
operations.
-
pWORKID
- The unique ID for the workflow.
-
pSUBWORKID
- The unique ID for the sub-workflow.
-
pMAPID
- The ID for the map stored
in the WMap table that will be used as the route definition for the sub-workflow.
-
pRETURNSUBWORKID
- The subWorkID for the sub-workflow
that started this sub-workflow if it was started as a sub-workflow from a
task.
-
pRETURNTASKID
- The ID for the task that
started this sub-workflow if it was started as a sub-workflow from a task.
-
pDATEDUE_MIN
- The minimum possible due
date for the sub-workflow.
-
pDATEDUE_MAX
- The maximum possible due
date for the sub-workflow.
-
pDATEINITIATED
- The date the sub-workflow
was initiated.
-
pDATECOMPLETED
- The date the sub-workflow
was completed.
-
pSTATUS
- The status of the sub-workflow.
-
pTITLE
- The title of the sub-workflow.
-
pPROJECT
- The project identifier for
the sub-workflow.
-
pUSERDATA
- Stored data that can be
used by the sub-workflow.
-
pCUSTOMDATA
- Stored data from customization that can be
used by the sub-workflow.
pWORKID
Integer pWORKID
- The unique ID for the workflow.
The column in the WSubWork table is SubWork_WorkID.
pSUBWORKID
Integer pSUBWORKID
- The unique ID for the sub-workflow.
The column in the WSubWork table is SubWork_SubWorkID.
pMAPID
Integer pMAPID
- The ID for the map stored in
the WMap table that will be used as the route definition for the sub-workflow.
The column in the WSubWork table is SubWork_MapID.
pRETURNSUBWORKID
Integer pRETURNSUBWORKID
- The subWorkID for the sub-workflow
that started this sub-workflow if it was started as a sub-workflow from a
task. The column in the WSubWork table is SubWork_ReturnSubWorkID.
pRETURNTASKID
Integer pRETURNTASKID
- The ID for the task that started
this sub-workflow if it was started as a sub-workflow from a task. The column
in the WSubWork table is SubWork_ReturnTaskID.
pDATEDUE_MIN
Date pDATEDUE_MIN
- The minimum possible due date
for the sub-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 WSubWork table is SubWork_DateDue_Min.
pDATEDUE_MAX
Date pDATEDUE_MAX
- The maximum possible due date
for the sub-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 WSubWork table is SubWork_DateDue_Max.
pDATEINITIATED
Date pDATEINITIATED
- The date the sub-workflow was
initiated. The column in the WSubWork table is SubWork_DateInitiated.
pDATECOMPLETED
Date pDATECOMPLETED
- The date the sub-workflow was
completed. The column in the WSubWork table is SubWork_DateCompleted.
pSTATUS
Integer pSTATUS
- The status of the sub-workflow.
The column in the WSubWork table is SubWork_Status. The possible values for
the status are:
WAPI.SUBWORK_STATUS_EXECUTING
WAPI.SUBWORK_STATUS_DONE
pTITLE
String pTITLE
- The title of the sub-workflow.
The column in the WSubWork table is SubWork_Title.
pPROJECT
String pPROJECT
- The project identifier for the
sub-workflow. The column in the WSubWork table is SubWork_Project.
pUSERDATA
Dynamic pUSERDATA
- Stored data that can be used
by the sub-workflow. The column in the WSubWork table is SubWork_UserData.
pCUSTOMDATA
Dynamic pCUSTOMDATA
- Stored data that can be used
by the sub-workflow. This field is used to store data that is needed for customizations.
The column in the WSubWork table is SubWork_CustomData.