6 11 2014
Action is the most basic unit of a rule system. Rule system is one of the major components in the App creation. Actions will return a value or will not return values. Actions can be mainly of four types. Command is the action which does not return value. Constant is the type of action in which a simple value will be returned. Variable can return a value which will not be simple. The last type is object. This type of action returns large data, for example Dataset, Data table etc.
For adding an action to an app you have to give a name and caption for the new action. Then you have to give the class name. Then you have to give the type of the new action. If you have selected a type which returns a value, you have to give the return type also. Then select where the action has to be run and enable the action. If you are going to inherit new action from some other already created actions, you need to give the details of the base action. On the parameter tab you can add the parameters if any. Then at the organize tab you can select the action category. If you need to log the action results you enable logging and can give the name of the log file. At the preview tab you can view the impact of the new action.
At the implementation tab you can implement the action. That means you can select the mode of action such as constant, custom, datasource etc. On the custom tab you can give VB codes or Java Scripts for creating the action. Security Tab provides you an option to secure the action you have created.
A collection of Actions is known as an Action set. When an action set is executed, then all the actions in that action set will execute one by one. These actions are inheritable, so that you can reuse the actions extensively which in turn helps to increase the productivity of the developers.