Closed AprildreamMI closed 1 month ago
Added the functionality to throw errors and customize error messages for the "workflow-state" task block, because in some cases, for a workflow task, this task does not achieve the expected result at a certain node. The task should be in a failed state, even if the entire task is running and ending normally at the program level. In this case, users hope to actively stop the current workflow task and set the task status to "error", while customizing the error message.