25 09 2014
How To Create A Decision First Action?
Actions are the most basic components of BizFirst Decision First Rules Engine. Rules Engine helps the users to implement very complex logic with very less effort. The rules engine is designed in a way such that by creating simple actions and arranging these action wisely for executing a complex business logics. This helps the user to use the rules engine with less effort.
For example the user needs to create an action to get an employee’s maximum salary. So user has to give a name and caption to the action. Then give action class name. Here the user has to select the type of action as constant, as it returns a simple value.
User can select the return type if needed. Then the user can go to inheritance tab, if they need to use any previously created actions. Then the user can add parameters and value required to perform the action.
The user now has to implement the action. There are mainly four types of implementation of action. First one is constant; here we can give a constant value which should be returned when ever this action is performed. Second implementation method is custom. Here we can give codes of VB.Net or Java Script. Next one is Data Source; in this method the action will return values directly from the database. The last one is member; in this case user can execute a method from an assembly and return its result. In this example we can use Constant, because Maximum salary is a constant value.
The Next step is preview. Here the user can preview the result of the new action created. So user can easily analyze the working of the action.
To know more about Action Click Here