SetTaskStatus
Specifies the task status that is returned to an application as Abort, Canceled, Finished, Hold, or Pending when the current task completes.
Syntax
bool SetTaskStatus (StrParam)
Parameters
Numeric value representing the status that the task is to return to User Application. The statuses include:- 0 - Abort
- 1 - Cancelled
- 2 - Finished
- 4 - Hold
- 8 - Pending
Returns
False if the parameter is not Numeric. Otherwise, True.Level
All.Details
Sets the Task Status value that is to be returned to User Application when the current task finishes processing.- Example
SetTaskStatus(4)