Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an open-source decision framework I could use?

What I am looking to create is some kind of graphical interface to allow people to visually build a query based on a set of parameters, ie. they can choose from a set of parameters, assign values and outcomes.. eg.

IF Raining OR Thunder then
IF DaysWithRain > 3
DISPLAY Umbrella
ELSE Raincoat


IF Day = Saturday OR Sunday
DISPLAY Deckchair

I would like people to be able to build this type of user-defined conditional logic arguments visually.

Any ideas on how I could do this easily using some existing codebase?

share|improve this question
Sorry if I misunderstood, but are you looking for something like Project Sikuli ( – Isxek Jul 1 '10 at 16:43
up vote 1 down vote accepted

If you are looking for an example, iTunes has a decent set of boolean logic with it's Create Smart Playlist feature.

Most importantly, it is limited to a subset of boolean logic that most people can grasp without training.

In my experience, more advanced logic (e.g. using grouped and/or sets) is beyond what most users are willing to learn.

This doesn't mean that you shouldn't support more advanced logic, just that you should target the GUI aspect to your user's comfort level.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.