hey folks, i'd like to create a slack on success h...
# ask-community
r
hey folks, i'd like to create a slack on success hook for an asset job which is being defined like so:
Copy code
aggregation_pipline_job = define_asset_job(
        "aggregation_pipline",
        [*accumulator_assets.values(), *groupby_assets, groups_asset],
    )
i'm not able to pass in hooks in the same way that you are to when using the job decorator like this
Copy code
@job(resource_defs={"slack": slack_resource}, hooks={slack_message_on_success})
can you provide a recommendation on the best way to accomplish this?
o
hi @Robert Kolb! another user just requested a similar feature here. I think this should be fairly simple to implement on our end
❤️ 2
b
Any update on this. ? Would be great to see this feature. Thanks