Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Migrated to Confluence 5.3
Excerpt |
---|
Deactivates and destroys (deletes) either a specific process or all processes. |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ProcessesProcess.destroy(); // destroy all processes! ProcessesProcess.destroy(processName); // destroy process with specific name |
Parameters
Parameter | Type | Mandatory | Notes | Process Version |
---|---|---|---|---|
processName | String | If specified, the process of that name will be deactivated then deleted. If omitted, all processes will be deactivated then deleted. | 0.1 |
Return Values
Value | Type | Notes | Process Version |
---|---|---|---|
undefined | Undefined | Nothing is returned | 0.1 |
Examples
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
ProcessesProcess("process1"); // make process #1 ProcessesProcess("process2"); // #2 ProcessesProcess("process3"); // #3 ProcessesProcess.destroy("process1"); // #1 destroyed, #2 and #3 remain ProcessesProcess.destroy(); // #2 and #3 destroyed |
Div | ||
---|---|---|
| ||
AvailabilityRequires:
|