| Processes |
|
|
|
|
The processes tab allows you to create new process lists or create and edit existing proccess lists. Process ActionsInsert Insert the current data into the database. The target table will be determined by the object name. Using Process ListsEach process list action can be made to execute conditionally by linking a Boolean Expression business rule to the step. If the conditional returns True, the process action executes - if False is returned, the step is skipped and the next step in the process list is executed (unless the next step is also dependent on a boolean expression). Any process list for any object can be executed as a sub-process action for any other process list. If the objects owning the two lists are different, any parameters shared between the two objects will have their values available to the sub-process list being executed. This is very useful when you have a load object and need to process the customer attributes of the load object, for example - you can just execute the necessary customer process list as a sub-process action from the load object's process list. Clever use of sub-processes and conditionals can effect very complex behavior. For example, if you have a status attribute, you can structure a boolean expression rule to return True if the value of that status attribute is set to Error. Likewise you may have a separate process list that contains operations that attempt to reconcile or correct an errored transaction. By combining the boolean expression that recognizes the error status and the error-handling sub-process, you can divert errored transactions to the error-correction process. Process Lists and RequirementsProcess lists should have a major role to play in the implementation of your requirments, because they join together many sub-taskings involving whichever business objects you need. For example, the "New Customer" process may involve determining that customer data is not present in the database, verifying that the customer data is valid, assigning some default values, and finally inserting new customer data into the database. That process may look something like this in Lexicon:
A business rule called 'is_New_Customer' may be used to determine if the New Customer process needs to be run, or if processing can continue without executing that process (if the customer was already in the database). |
OpenLexicon.org | Home