Natural Language Editor

◷ Reading Time: 2 minutes

When you select a Natural Language logic and you switch to the logic content on right tab page on the screen and you will see your logic loaded in an XML editor by default, similar to the following:

On Natural Language logic, as you can see there is an extra switch (above picture) which by default is on “XML”. If you click on it, it will become “Visual” and the visual designer for your Decision Table will be loaded.

Rule Entry

Direct

You can directly type the rules in the file.

The Save Contents is available only when you toggle to XML.

When you enter rules, make sure that they are in the correct format.

when <rule name>
  <condition>
then
  <action>
otherwise
  <action>
end

It has a color scheme and you will be able to notice the invalid syntaxes. In the following example, the r3 rule does not have an end tag. Therefore, the next when a tag is not Blue colored.

Hints

If you press Control and Alter (Ctrl and Alt) buttons together will suggest the options.

Properties

You can toggle between showing and not showing properties.

This is where you can manage Revisions of the Natural Language document you edit.

Updated on May 16, 2022

Was this article helpful?

Related Articles