Git Product home page Git Product logo

Comments (2)

zangell44 avatar zangell44 commented on May 25, 2024

@robfreedy at the moment only known system block types (like Webhook) can be used in Automation actions.

We don't have any way to instantiate CustomWebhookNotificationBlock server side, only metadata about the block definition.

Happy to chat through a feature request if you think there's value.

Seems like at minimum we could explain the above in our Automations action error message.

from prefect.

robfreedy avatar robfreedy commented on May 25, 2024

Gotcha, that makes sense. I could see this experience being confusing based on what is exposed in the Cloud UI just because there could be any number of custom blocks with the "notify" tag on them when setting the block for the "Send a Notifaction" action that would not be valid since there is no way to instantiate the CustomWebhookNotificationBlock or any custom block type.

I would maybe propose we either:

  • Have a set list of "notification" block types that can be set on the Automation Action for sending a notification.
  • Support any block type (including custom block types) in the automation action (larger feature request/discussion)

cc: @masonmenges

from prefect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.