Editar

Partilhar via


getProgress (Client API reference)

Returns the progress of the action step.

Syntax

var stepProgress = stepObj.getProgress();

Return Value

Type: Number.

Description: Returns one of the following values:

Value Description
0 None
1 Processing
2 Completed
3 Failure
4 Invalid

Remarks

This method is supported only for the action steps; not for the data steps. Action steps are buttons on the business process stages that users can click to trigger an on-demand workflow or action. Action step is a preview feature introduced in the v9.0 release. More information: See the Business Process Flow automation with Action Steps section in Blog: New automation and visualization features for Business Process Flows (public preview)

setProgress
formContext.data.process