-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rule action to link transactions with certain tag #1752
Comments
I'm sorry, this is way too complex. I understand your use case of course but it's really something else to automate this from within Firefly III. Rules triggering other rules is a smart way of selecting a source transaction. You've effectively turned it into a search engine. Another rule would take that search result and act on it. But this would also require a complete rewrite of the rules engine, in order for them to be aware of "input" from previous rules (which could be a chain) adding all sorts of complexities. It's impossible to turn this into a user friendly system that new people would get. The current rule engine is already crossing the line here. I would suggest you build something that acts on the database directly. You can use the API if you want to. |
How about adding webhook action? POSTing matched transaction json object. |
I'm not going to implement webhooks for one use case. You've got yourself an edge case and I can't help you with it I'm afraid. |
What if I implement it? Your API users might find it useful... It complements the API. |
No. There’s plenty of technical debt already. |
I've sent pull request for some initial implementation in #1757 . |
What exactly do you mean by that? |
Yes, I saw your question. There's a lot of technical debt surrounding stuff that barely anybody uses. I'm not going to add another package and a bunch of code in order to be able to push transaction information to external sites. Feel free to merge it into a fork of Firefly III, that's the beauty of open source software, but I'm not going to merge it into the master branch. |
This package was is already present in the vendor folder.
So you're not adding anything not already there. Would tests and documentation for this would help reduce the technical debt? This would help the user base with automating a common (in my opinion) use-case, and would provide benefits of using existing features of FireFly (like rules, links, and the API) to its fullest. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm a bit sad I have to manage separate fork for the project only because of the webhook action. It is a good mechanism in my opinion to notify external systems of events (like specific type of transaction imported) to kick of various use cases ranging from enriching the transaction with attachments (automatically) or linking it to other transactions, as previously detailed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
Please describe your feature request:
Use case: I want to link credit card transactions to their payment, when a rule triggered on the payment.
Assumptions: the transactions to be linked are tagged beforehand (for example, "current month") - maybe even using another rule (not the focus of this issue).
It would be useful to remove/replace that tag after linking.
Solution
Describe what your feature would add to Firefly III.
or
What are alternatives?
Please describe what alternatives currently exist.
manually going to each transaction and linking to transfer.
The text was updated successfully, but these errors were encountered: