Checks whether a specific task exists and is waiting to be run by task scheduler.
Exists := TASKEXISTS(Task)
The unique identifier of the task. The unique identifier is returned by the CREATETASK function.
Property Value/Return Value
true if the task exists and is waiting to be run; otherwise, false. A task that is running or completed is not considered to be an existing task.
Scheduled tasks are recorded in table 2000000175 Scheduled Task. To see an example of TASKEXISTS in use, refer to C/AL code of table 472 Job Queue Entry.
For more information about tasks and TASKSCEDULER data type functions, see managing tasks Task Scheduler.