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

Not possible to abort an execution in case of a failed service execution #61

Open
FlorianDue opened this issue Sep 18, 2024 · 0 comments

Comments

@FlorianDue
Copy link

The PFDL Scheduler schedules services, which are then executed on some asset. In case that the service execution succeedes, a notification is send to the PFDL scheduler, which then triggers an event (Event(event_type="service_finished", data={"service_id": service_uuid}).

However, there is no specified behavior in case that an service execution fails and the process execuion should be aborted.

Here, it would be great if a custom event type could be provided, that stops the scheduler execution.

For example the event could be Event(event_type="service_failed", data={"service_id": service_uuid}) to stop the scheduler.

Another nice feature would be an Event Type to reschedule the service execution, so that the scheduler again starts the failed service execution. An event coul be e.g., Event(event_type="service_repeat", data={"service_id": service_uuid})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant