Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[idea][Process Definition] Execute strategy for serial discard with oldest task #15646

Closed
3 tasks done
liunanting opened this issue Feb 28, 2024 · 2 comments
Closed
3 tasks done
Labels
feature new feature

Comments

@liunanting
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

在执行策略里面,新增一种执行策略,如果对于同一个工作流定义,同时有多个工作流实例,则抛弃后->新生成的工作流实例并杀掉正在跑的实例。(现在策略是杀掉新生成的实例,能够新增一个杀掉后生成的实例,以最新的为主)

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@liunanting liunanting added feature new feature Waiting for reply Waiting for reply labels Feb 28, 2024
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

In the execution strategy, a new execution strategy is added. If there are multiple workflow instances for the same workflow definition at the same time, discard the newly generated workflow instance and kill the running instance. (The current strategy is to kill the newly generated instance, and you can add a new instance generated after killing it, mainly the latest one)

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@SbloodyS
Copy link
Member

Please describe in English.

@SbloodyS SbloodyS removed the Waiting for reply Waiting for reply label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

No branches or pull requests

2 participants