caishunfeng commented on code in PR #12121:
URL: https://github.com/apache/dolphinscheduler/pull/12121#discussion_r978746301


##########
docs/docs/en/guide/project/workflow-definition.md:
##########
@@ -50,6 +50,17 @@ Click the `Save` button, and the "Set DAG chart name" window 
pops up, as shown i
 
 ![workflow-save](../../../../img/new_ui/dev/project/workflow-save.png)
 
+### Configure workflow (process) execution type
+
+Click the `Save` button and configure `process execution type` in the pop-up 
window. There are four process execution types:
+
+- `Parallel`: If there are multiple instances of the same workflow definition, 
execute the instances in parallel.
+- `Serial Wait`: If there are multiple instances of the same workflow 
definition, execute the instances in serial.
+- `Serial Discard`: If there are multiple instances of the same workflow 
definition, discard the later ones.

Review Comment:
   > Just for confirmation, in that case, there will be no instances running 
for the workflow definition once killing done?
   
   Yes, if a new workflow instance ready to run, it will kill all the running 
instances if serial discard.
   see 
https://github.com/apache/dolphinscheduler/blob/82ddd72e4a2fae8d8926e5ff8ec35600d0483fbc/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java#L343-L356



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to