Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.