You just need to add the following references:
Then add a text area on your page to display the Natural Language:
Once your page is loaded you use toNaturalLanguage in your jQuery to build the Natural Language editor component on your Web page:
And that’s it! You have an advanced Natural Language editor on your Web page.
Natural Language Editor
This is an advanced editor with its main capabilities similar to the Web decision table editor. It also allows you to load a business glossary to use with your own business domain and terminologies.
Colors identify the type of expression you are writing in the editor. For example, Orange means the expression is a Term, and Purple means it is a logic decision or logic call, and so on.
Colors help you to understand if something is not quite right when you are writing your business logic (i.e., rules, decisions, etc.)
If you don’t remember the term, expression or a defined logic, just ask for help. Press CTRL+SPACE:
Parameter Definition and Values
The Web Natural Language (Domain Specific Language) editor also recognizes parameters in the logic definition and identifies the right caller of these.
- Load Natural Language for business rule entry
- Allows you to:
- Add new logic
- Use terms (glossary)
- Call other logic
- Generates the Natural Language model from users interactions
- Loads the business glossary and allows users to select options from that glossary
- Allows you to change the order of logic
- Queries the model to list all the referenced Glossaries
- Queries the model to retrieve settings (e.g., name, etc.)
More Web Components
With this Web-based component you can truly allow your users to model their own business rules in your Web application!
Last updated September 2nd, 2019 at 01:57 pm, Published December 15th, 2015 at 01:57 pm
CEO and the founder of FlexRule – He is an expert in architecture, design, and implementation of operational decisions, business rules, and process automation. Created Decision-Centric Approach, a methodology that brings People, Data, Rules, and Processes together to automate operational business decisions.
This approach is recognized by Gartner as the missing link to provide business value to organizations.