편집

다음을 통해 공유


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.

formContext.data.process