In this tutorial we are going to show you how to start debugging of a rule project:
Make sure you have already installed the latest FlexRule Runtime from http://download.flexrule.com
Open sample project
When you have FlexRule Designer installed, it also installs couple of rule sample project. Run FlexRule Designer and then open project called Car Insurance using DMN.
Click on the project.
If this is the first time you open the project and you have the FlexRule Runtime installed, there will be a window pops up to like the FlexRule Runtime to project:
Open Debugging Macro
FlexRule Designer supports automation macro. Instead of you going to different windows in designer and select different option to accomplish a task, you can automate the process. Open Debug DRD from your project explorer by finding the file and double clicking on it.
When you run this macro, it will setup your FlexRule Designer and puts it in debugging mode. You can then navigate and debug your rule (DRD-With-Tree-NL.xml).
Now the FlexRule Designer is in debug mode you can see the yellow highlight and yellow arrow in your model.
Now you can use
- F11 key
- Debug menu
to navigate the highlighting arrow
Opening Linked Models
When your model is linked to other models, and you are trying to navigate into the child model, FlexRule Designer will ask for a confirmation to open and navigate the child model in details. Or just execute it and does not go to child model details.
Note this window may go behind the actual FlexRule Designer main window sometimes. Look on your windows task bar.