setStatus (Client API reference)
Sets the current status of the active process instance.
Syntax
formContext.data.process.setStatus(status, callbackFunction);
Parameters
Name | Type | Required | Description |
---|---|---|---|
status |
String | Yes | The new status. The values can be active, aborted, finished, or invalid. |
callbackFunction |
Function | No | A function to call when the operation is complete. This callback function is passed the new status as a string value. |
Type: String.
Description:Returns one of the following values: active, aborted, or finished. It returns invalid if the setStatus API fails.
Related articles
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk