Running Webhooks Post Deployment Deletion #20175
Replies: 2 comments 5 replies
|
Hi @sghegoiu-rokos, We provide a Don't see why we can't emit an event in OSS when this happens. |
|
sorry @bdalpe I had a follow up - I think I may be using the wrong entity here. to give you a bit more context, Im working on exposing a generic workflow to our users to allow different AI prompts being run on a schedule. Initially I thought the right way to do this would be by creating a deployment per user-specific-schedule. However I noticed that the actual DeploymentSchedule entity would be much more appropriate for this. However, DeploymentSchedule doesn't seem to have any event watching/emitting integrated at all. What's your opinion on the most appropriate type to use for this kind of usecase? thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Hi guys,
Im trying to setup an automation to call one of my webhooks when a deployment is deleted (I keep track of some other business specific metadata in another database which in turn need to be cleaned up when a deployment is deleted). I could potentially move my tables into the prefect db and cascade, but I'd prefer to avoid that if possible.
I have looked at Prefect automations and there is no way of triggering a webhook when a deployment is deleted.
Are there any other solutions you would recommend?
Thanks,
Stefan
All reactions