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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru