I am creating a custom trigger for a deployment and I want this deployment to run any time a certain json block is saved to. So like this (with the block name “fake-json-block”
{
“match”: {
“prefect.resource.name”: “fake-json-block”
},
“match_related”: {},
“after”: ,
“expect”: [
“prefect.block.json.save.called”
],
“for_each”: ,
“posture”: “Reactive”,
“threshold”: 1,
“within”: 0
}
This trigger works when the block is saved to using a command like
from prefect.blocks.system import JSON
JSON(value=[1,5,7]).save("fake-json-block", overwrite=True)
I.E I am seeing an even corresponding to that update in the event log. However, if I update the block “fake-json-block” value in the UI and save there
I am not seeing any corresponding update event of the block in the event log. Is this behavior intentional? I’d definitely like to see this behavior reflected in the event log.