OScript API/Built-in Package Index

Class: WAPIMAPTASK

WAPIMAPTASK is the object handle of a workflow map task stored in the WAPI database. It is used in the WAPI functions for all task manipulation operations.

Instance Attributes

The callback information for the Evaluate Condition callback event.

Stored data that can be used by the workflows using this map task.

The description of the task.

The callback information for the Task Done callback event.

The due date for this task.

The duration, in seconds, of how long it should take this task to be completed.

The time that the task should be due.

The flags that control the behavior of the task.

Any additional information that is needed to determine the data made available at the task.

The instructions for the task.

The callback information for the Task Killed callback event.

The unique ID of the map to which this task belongs.

The information that is required to display the task in a visual interface.

The callback information for the Assign Performer callback event.

The ID of the user who should perform the work on the task.

The priority of the task.

The callback information for the Task Ready callback event.

The callback information for the Task Resurrected callback event.

The date the task should wait for before appearing in the users inbox.

The ID of a map stored in the map database that should be executed as a sub-workflow when this task becomes ready.

The callback information for the Assign Submap callback event.

The unique ID of the task.

The title for the task.

Stored data that can be used by the task.

The number of tasks that have links to this task that have to be completed before this task can become ready.

Instance Attributes

Dynamic pCONDITIONCB

Stored data that can be used by the task. The column in the WMapTask table is MapTask_UserData.

Integer pDONECB

The duration, in seconds, of how long it should take this task to be completed. The column in the WMapTask table is MapTask_DueDuration.

Dynamic pFORM

The callback information for the Task Resurrected callback event. If any data is stored in this field then a callback will fire when this task is resurrected. Resurrected means that the task was previously killed because it was on a branch that was not taken due to a conditional task, but a loop back has occurred and the task may once again become ready. The column in the WMapTask table is MapTask_ResurrectCb.

Integer pKILLCB

The time that the task should be due. This time is the number of seconds since midnight. The column in the WMapTask table is MapTask_DueTime.

Integer pMAPID

The unique ID of the task. The column in the WMapTask table is MapTask_TaskID.

Dynamic pPAINTER

Stored data that can be used by the workflows using this map task. This field is used to store data that is needed for customizations. The column in the WMapTask table is MapTask_CustomData.

String pPERFORMERCB

The title for the task. The column in the WMapTask table is MapTask_Title.

Dynamic pPERFORMERID

The callback information for the Assign Submap callback event. If any data is stored in this field then a callback will fire when this task is about to become ready so that the submap that is to be executed for the task can be determined. The column in the WMapTask table is MapTask_SubMapIDCb.

Dynamic pREADYCB

Any additional information that is needed to determine the data made available at the task. The column in the WMapTask table is MapTask_Form.

Dynamic pSUBMAPID

The callback information for the Task Killed callback event. If any data is stored in this field then a callback will fire when this task is killed. Killed means that the task was on a branch that was not taken due to a conditional task. The column in the WMapTask table is MapTask_KillCb.

String pSUBMAPIDCB

The instructions for the task. The column in the WMapTask table is MapTask_Instructions.

Integer pTASKID

The ID of a map stored in the map database that should be executed as a sub-workflow when this task becomes ready. The column in the WMapTask table is MapTask_SubMapID.

Dynamic pWAITCOUNT

The callback information for the Task Ready callback event. If any data is stored in this field then a callback will fire when the task becomes ready. The column in the WMapTask table is MapTask_ReadyCb.

 Copyright © 2023 OpenText Corporation. All rights reserved.