hsupu opened a new issue #3630: URL: https://github.com/apache/incubator-dolphinscheduler/issues/3630
**Describe the feature** When we run a process, a task will be directly regarded as running successfully if marked as a "fake run". **Is your feature request related to a problem? Please describe.** No. **Describe the solution you'd like** We'll archive this by two steps: 1. Marking a task as a "fake run" 2. Handling the fake-run task 3. Providing the option on web UI. We need to handle two types of task: 1. Working on master: conditions task, dependent task, sub process task 2. Working on worker: others In the existing design, `org.apache.dolphinscheduler.common.model.TaskNode` stores information about a task in the workflow. The member `String runFlag` in TaskNode is used for running state, and runFlag has two types of `NORMAL` and `FORBIDDEN`. We're going to add a new `FAKERUN` type to the runFlag. Then we must pass the `FAKERUN` mark to TaskInstance when creating TaskInstance from the TaskNode. After that, according to the type of a task, skip the business code. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
