diff --git a/docs/reference-docs/operators/switch.md b/docs/reference-docs/operators/switch.md index 34134c23..c667ec00 100644 --- a/docs/reference-docs/operators/switch.md +++ b/docs/reference-docs/operators/switch.md @@ -11,7 +11,7 @@ The Switch task is used for conditional branching logic. It represents if...then A Switch task evaluates an expression, either a simple input parameter key or a complex JavaScript expression, and matches the expression output with the name of each switch case. The appropriate tasks are executed based on the matching branch, which contains a sequence of tasks. The default branch will be executed if no matching branches are found. -### Task parameters +## Task parameters Configure these parameters for the Switch task. diff --git a/docs/reference-docs/system-tasks/update-task.md b/docs/reference-docs/system-tasks/update-task.md index 4b8fa51f..654d2a22 100644 --- a/docs/reference-docs/system-tasks/update-task.md +++ b/docs/reference-docs/system-tasks/update-task.md @@ -9,10 +9,9 @@ import TabItem from '@theme/TabItem'; The Update Task is used to update the status of other tasks. The user should have access to the task being updated. -The Update Task can update the status of a task in two ways: - - - **Using the workflow ID and the reference name**—This method updates the task status by specifying the workflow execution ID and the task's reference name. - - **Using the task execution ID**—This method updates the task status directly by specifying the task's execution ID. +The status of a task can be updated in two ways: + - **Using the workflow ID and the reference name**—Update the task status by specifying the workflow execution ID and the task's reference name. + - **Using the task execution ID**—Update the task status by specifying the task's execution ID. The task can be updated only if the workflow is in “RUNNING” status. @@ -23,7 +22,7 @@ Configure these parameters for the Update Task. | Parameter | Description | Required/Optional | | --------- | ----------- | ----------------- | | inputParameters.**taskStatus** | The status of the task to be updated. Supported values: