Register new account File library File library
Posted by Arash Sunday, May 22, 2011 4:11:00 PM
Rate this Content 1 Votes

Recently I have been involved in designing and developing an UI for FlexRule. This application allows people to create rules using drag and drop actions. They can simply drag different elements of the rules and drop them into a document editor and when they save the editor behind generates the rule based on the rule type.

This is a really exciting and challenging project I was involved. Very tricky to design and hart to implement. By the way the designer is almost ready and I can share some screenshots for your.

This rule designer allows different editors be hosted as a different plug-in for it and therefore It supports creating both Procedural and Flow rules with different view. Also if you create your own rule language you will be able to create your own editor and host it inside the designer.

For procedural rules I decided to use a tree like view with different icons for each node to represent different commands of the rule. At first it may look strange when you are creating procedural rules using a tree but
for non-tech users (I mean not programmers) like Business Analysts it would be a good options to create procedural rules on their own.

If you don't like the tree view you can use XML editor to write you procedure code but believe me for a rule it is easier thinking the steps as different nested nodes of a tree instead of a code lines... (at least for non-developers/coders)

The complex part was making an editor for RuleFlow. During opening/creating new rules it will ask to select the type of rule and type of rule viewer/creator;

 

So simply it allows you to use a diagram based editor for a RuleFlow. Just like procedural rule editor it allows you to create your flow using drag and drop actions;

 

but for sure you then need to assign properties and values depends on the command type;

 

and then using transition from toolbox to connect different nodes of the flow

 

and finally you will have your RuleFlow ready just like this!

Well, that's it for now, I will post more when I have it finished soon.

Hope in two or three more weeks but I think before that I will be off to Sydney for CeBIT!

Tweet This

9bA0G7 , [url=http://meuuayypxaah.com/]meuuayypxaah[/url], [link=http://rhhglqchnoss.com/]rhhglqchno

Thursday, December 01, 2011 1:46:12 PM eamljwhly
9bA0G7 , [url=http://meuuayypxaah.com/]meuuayypxaah[/url], [link=http://rhhglqchnoss.com/]rhhglqchnoss[/link], http://lexmhttnzlou.com/

oxP3Mt , [url=http://jkghdenumoge.com/]jkghdenumoge[/url], [link=http://lpahisujhmwa.com/]lpahisujhm

Thursday, December 01, 2011 1:27:24 PM soffayydepa
oxP3Mt , [url=http://jkghdenumoge.com/]jkghdenumoge[/url], [link=http://lpahisujhmwa.com/]lpahisujhmwa[/link], http://exeitrskerii.com/

PJ4hn4 <a href="http://wvmwoveuztna.com/">wvmwoveuztna</a>

Thursday, December 01, 2011 7:14:04 AM owygrnva
PJ4hn4 wvmwoveuztna

vTk5hs <a href="http://bsqohvjxpnxz.com/">bsqohvjxpnxz</a>

Thursday, December 01, 2011 7:06:51 AM jocnarogcv
vTk5hs bsqohvjxpnxz

re: Rule designer/editor

Wednesday, August 10, 2011 9:45:29 PM Arash

Hi Mohan,

The IntelliSense may be added for future version, however for the current version we will be releasing soon; we offer the variable lookup. It allows you browse variables in different context (root, scopes,...) and select them. The name of selected variable will be added as part of your expression you are typing.

For the items you have mentioned;

1. Any CLR type can be added as any variable; input, output and local. you can use toolbox to add variables into the rule document you are creating. (Use 'Define' command from toolbox)

2. For method call of an object you can use a command named CallMethod which is available from toolbox.

Thank you for your comments.

Arash

re: Rule designer/editor

Tuesday, August 09, 2011 5:08:38 AM d.mohana

Hi Arash,

I have received beta version of the Rule Designer yesterday and started looking at the functionalities available in the designer.

The first impression for designer is good as we can get so many options as part of procedural and rule flow toolbox items.

One thing i wanted to ask you guys is the support for intellisence in the editor, for example while editing condition part of the If statements ideally there should be a option to select variables i defined in declaration section. It's just giving plain text area to enter input.

Most important thing is to have 1. complex .NET objects (Complex object is objects inside objects and accessing those in rule designer) as in/out parameters; 2. Calling custom C# methods created by us from rule designer as part of If or action(Then) part.

Please give us your inputs on the same.

Thanks,

Mohan