Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Access old field values in webhooks #2902

Closed
rallisf1 opened this issue Jul 31, 2022 · 3 comments
Closed

[Feature] Access old field values in webhooks #2902

rallisf1 opened this issue Jul 31, 2022 · 3 comments
Labels
🚘 Scope : Automation Relating to automation 🔦 Type: Feature New functionality is requested.

Comments

@rallisf1
Copy link
Contributor

Need for this feature
Most times I only want to be notified when a certain change is made: e.g. when a status changes from pending to completed. Right now we only have access to the latest field values both in the webhook body and conditions, thus we can never know what the old field values were. e.g. If I update any field value in a row but not status which is already completed my on update webhook whose only condition is where status is equal completed will still fire and that is wrong for my usecase.

Describe the solution you'd like
I'd like to access old field values both in the webhook body (e.g. with prefix old.) and in the conditions (e.g. an "Old Values" optgroup inside the dropdown).

Describe alternatives you've considered
The only dirty workaround is to keep historical data in a separate table, write the condition logic in my own middleware backend and update the historical data via the API.

@o1lab
Copy link
Member

o1lab commented Jul 31, 2022

Ok, makes sense - we will think about this.

Within audit ( team & auth > audit ) there will be history of all edits. Just a hint, if you think to build something around it.

@o1lab o1lab added the 🔦 Type: Feature New functionality is requested. label Jul 31, 2022
@o1lab o1lab added the 🚘 Scope : Automation Relating to automation label Sep 13, 2022
@DarkPhoenix2704
Copy link
Member

Hi @dstala , May i know if this is in your roadmap for future releases?

@dstala
Copy link
Member

dstala commented Feb 21, 2023

to be tracked under #3869

@dstala dstala closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚘 Scope : Automation Relating to automation 🔦 Type: Feature New functionality is requested.
Projects
None yet
Development

No branches or pull requests

4 participants