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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de