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

Flows: Provide GraphQL API to manually cancel flow's schedule tasks #398

Closed
zaychenko-sergei opened this issue Dec 27, 2023 · 0 comments · Fixed by #416
Closed

Flows: Provide GraphQL API to manually cancel flow's schedule tasks #398

zaychenko-sergei opened this issue Dec 27, 2023 · 0 comments · Fixed by #416
Assignees
Labels
enhancement New feature or request rust Pull requests that update Rust code

Comments

@zaychenko-sergei
Copy link
Contributor

zaychenko-sergei commented Dec 27, 2023

The API should allow cancelling scheduled tasks of the particular flow:

  • if it is still waiting for starting condition to be satifised, it should be an error (UI should block it, but API must return an error)
  • if the associated task was already scheduled or is running, cancel it
  • ignore for already cancelled or already finished flows for idempotency reasons
@zaychenko-sergei zaychenko-sergei self-assigned this Dec 27, 2023
@zaychenko-sergei zaychenko-sergei added enhancement New feature or request rust Pull requests that update Rust code labels Dec 27, 2023
@zaychenko-sergei zaychenko-sergei changed the title Flows: Provide GraphQL API to manually cancel a flow Flows: Provide GraphQL API to manually cancel flow's schedule tasks Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant