Trigger Azure Function From Table Storage
Allow create, update and delete on a table storage row to trigger an Azure Function.
Still unplanned, but please keep the votes coming.
Martin Kearn commented
I'd like to share a scenario for why I'd like to see a Table Storage trigger for Functions.
I'm writing a Function to clear state from a Durable Entity Function because the Durable Entity SDK does not remove the underlying table row when entities are deleted (see this thread: https://github.com/Azure/azure-functions-durable-extension/issues/931).
My idea was a Function that is triggered whenever a Table row from the Durable 'Instances' table is updated which could check if the row is logically deleted and if so, actually deleted the remaining row from the table.
Because there is no Table Storage trigger, my Function has to run on a Timer which is not desirable and introduces complexity to my code because I now need to handle multiple rows.
Add function binding trigger to table store.
Jean-Paul Smit commented
Found this request from 1,5 years ago earlier in the General Feedback. Maybe the 34 upvotes on that one can be migrated to this one?
Junko Inui commented
As it's mentioned in the following document, trigger is not available for table storage now. That is quite inconvenient for users. Please add trigger for table storage.
- Azure Functions developer reference