My current view is that this is out of scope for de.bxservice.fieldEventRules and would be better as a separate plugin / extension point.
Reasons:
The plugin’s design goal is to allow “when this field changes, do that” logic using SQL / expressions against the iDempiere database only, without requiring Java or external dependencies.idempiere
Adding HTTP calls introduces:
New runtime dependencies (HTTP client, JSON parsing),
New security concerns (auth, secrets management, outbound network calls from the app server),
A significantly larger configuration surface (auth configs, timeouts, error handling, retries, etc.).
This moves the plugin from “pure DB expression engine” to “general integration framework”, which changes its risk profile and maintenance burden.
So I’d prefer to keep Field Event Rules focused on DB‑centric rules, and handle external API calls in a dedicated integration layer.
If you use Postgresql, I think that is doable writing a function that uses the pgsql-http extension and make the external call from the function. No changes in the plugin.
Hi Diego,
Thank you for your time and the clear explanation. Thanks for the plugin too!
Best regards,
Fauzan
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/idempiere/d294e653-cc1b-4475-9ea0-cb4a21588f9fn%40googlegroups.com.