This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
ABORT PROCESS BY ID
|
ABORT PROCESS BY ID ( uniqueID ) | ||||||||
Parameter | Type | Description | ||||||
uniqueID | Longint |
![]() |
Unique process ID | |||||
The ABORT PROCESS BY ID command stops a specific process on the 4D 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 Process activity or the _o_PROCESS PROPERTIES commands.
Notes:
You want to stop the selected process of the processes collection displayed in a list box:
//variable =curItemPosition
// Retrieve the list of process on the server and display in the list box
$activity:=Get process activity(Processes only).processes
...
// The selected process is stopped on the server
ABORT PROCESS BY ID($activity[curItemPosition].ID)
Product: 4D
Theme: Processes
Number:
1634
Created: 4D v17 R4
4D Language Reference ( 4D v20 R7)