abortProcessByID
abortProcessByID ( uniqueID : integer )
Parameter | Type | Description | |
---|---|---|---|
uniqueID | integer | -> | Unique process ID |
Description
The abortProcessByID
command stops a specific process on the Qodly Server.
In the uniqueID parameter, pass the unique ID of the process running on the server that you want to stop. You can retrieve the process ID with the getProcessActivity
or the processInfo
command.
note
This command should only be used for searching errors or administration purposes, not as a regular procedure.
Example
You want to stop the first process of a processes collection:
//variable = curItemPosition
// Retrieve the list of process on the server
activity = getProcessActivity(kProcessesOnly).processes
...
// The selected process is stopped on the server
abortProcessByID(activity[0].ID)