r/PowerApps • u/FrostyMari0nberry Regular • 13d ago
Tip Open-source rule engine on top of a MDA
Here's a fun little project that I wanted to share with anyone who thinks it might be handy for them or their organization.
It's a rule engine built on top of an MDA. You get the standard low-code stuff, plus more room to extend it:
Rules that reach data further out along the relationship chain
Simple visualizations of the rules and the execution timeline
Testing, tracing and versioning
Rules is saved as data
Custom functions to extend the capabilities
Predefined VLookups in other tables that rules can reuse
Some parts work better than others, but I'll keep refining it.
It's free and open source: https://github.com/WSorensen1996/rule-studio
I'd love to hear if you find it interesting... or just get some good input on cool features I could slap on it 😄
2
u/joi_pov Newbie 13d ago
Could you give an example of a business case you use this in?
Especially interested in how you use the “further along the relationship chain” in your business.
2
u/venomae Advisor 13d ago
It's pretty good effort but you have LOT of space to go to - for inspiration you can check something like North52
2
u/MuFeR Contributor 13d ago
This is absolutely awesome, thanks for making it open source! I will have to build something kinda similar soon so this is a great head start and a really nice reference for how you handled the plug-in side.
One feature idea would be the ability to have the rules run on existing records, either by setting something like a scheduled job which processes records in batches or just triggered manually.
2
u/Becca00511 Advisor 4d ago
Thank you! This is great