setProgress (Client API reference)
Updates the progress of the action step.
Syntax
stepObj.setProgress(stepProgress,message);
Parameters
Name | Type | Required | Description |
---|---|---|---|
stepProgress |
Number | Yes | Specify one of the following values to specify the step progress: 0: None 1: Processing 2: Completed 3: Failure 4: Invalid |
message |
String | No | An optional message that is set as the Alt text on the icon for the step. |
Return Value
Type: String.
Description: Returns invalid
or success
depending on whether the step progress was updated.
Remarks
This method is supported only for the action 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).
Related articles
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應