Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:2500_config_apps:0900_add_edit_processes [2022/08/25 00:00] – removed - external edit (Unknown date) 127.0.0.1 | docs:2500_config_apps:0900_add_edit_processes [2025/06/12 03:58] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [< | ||
| + | ====== Adding/ | ||
| + | |||
| + | The following section describes how to work with the editor of processes when adding a new process or editing an existing one. Processes are described in [[docs: | ||
| + | |||
| + | The editor of processes can be started as described in the [[docs: | ||
| + | |||
| + | Action rules determine what the process will do (unless the process is implemented by a custom software component – see below). Failure rules deternine what happens (if anything) if a process fails. Failure rules are explained in the [[docs: | ||
| + | |||
| + | The following properties can be specified for a process: | ||
| + | |||
| + | ===== Name ===== | ||
| + | |||
| + | Specify the name of the process uniquely identifying it within the business space version. The following restrictions apply: | ||
| + | |||
| + | * The name must start with a character (not digit) or underscore symbol. All other symbols must be characters (including underscore) or digits. Space symbols are not allowed. | ||
| + | * The name must be unique among the names of other processes defined in the business space version. | ||
| + | |||
| + | ===== Description ===== | ||
| + | |||
| + | Specify the description of the process. Providing a description is highly recommended. Any description if defined is included into the generated documentation for the business space version – see [[docs: | ||
| + | |||
| + | ===== Category ===== | ||
| + | |||
| + | You can group processes by category. Processes belonging to a particular category are grouped in the Elements Tree. Enter a new category or select from the list of existing ones. You can apply the same category to several processes at once if you paste them under this category in the Elements Tree. | ||
| + | |||
| + | ===== Process Input ===== | ||
| + | |||
| + | Click on this property to bring up the " | ||
| + | |||
| + | Instances of the business objects that the process works with may come from two sources: | ||
| + | |||
| + | - The process itself may look for the instances of the business objects it needs by executing '' | ||
| + | - The instances of the business objects the process needs may be written into the Context just before the process starts (see [[docs: | ||
| + | |||
| + | To define business objects or business object groups as process input select the objects or groups in the left list box and press the Right arrow button to move the selected objects or groups into the right list box. Similarly if you want to delete certain business objects or groups from the process input select the objects or groups in the right list box and press the Left arrow button to move them into the left list box. | ||
| + | |||
| + | ===== Implementation ===== | ||
| + | |||
| + | The following options are available: | ||
| + | |||
| + | - //Rules// – select this radio button if you will define rules that implement the process (at least one rule must be defined). Use Action Rules tab to define the rules – see [[docs: | ||
| + | - //Custom Software Component// – select this radio button if the process is implemented by a piece of code – see " | ||
| + | ===== User name ===== | ||
| + | |||
| + | Enter any name that will be displayed to the user to represent a process. Currently only used in the list of active processes or when a process becomes a background process. | ||
| + | |||
| + | ===== Allow cancel ===== | ||
| + | |||
| + | // | ||
| + | |||
| + | ===== Handles " | ||
| + | |||
| + | Tick this box if you want the process to handle the " | ||
| + | |||
| + | ===== Run in the background ===== | ||
| + | |||
| + | If a process takes a long time to execute (such as, for example, large import process or a process handling large queries in batches) it is possible to run such a process in the background. The user will be able to continue working with the system while the process is running in the background. The user will be notified when the process completes or when it requires interaction with the user. Here you can specify a number of seconds that the system has to wait before it starts running the process in the background. Note that this property should only be used for processes that the user starts explicitly, not for processes that are started from other processes. | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | ===== Single tab mode ===== | ||
| + | |||
| + | By default all intermediate process operations are performed in a popup window. For example, consider this process that allows user to create a new object and then redisplays its form for editing: | ||
| + | |||
| + | <code aim> | ||
| + | VIEW Object </ | ||
| + | |||
| + | The first and all subsequent actions except the last one are considered to be intermediate actions. Depending on the nature of the last action it can be treated as an intermediate one or as the final one. The last action that expects input from the user is still an intermediate action, but if the action just displays the results and does not expect input from the user, it is considered to be the final one. The VIEW action does not expect input from the user, so it is the final one in this case. In most cases intermediate actions are displayed in a popup window. The final action is displayed according to the designated output of the process, specified either in a form/query operation or a menu command (depending on where the process is used). | ||
| + | |||
| + | ===== Display under ===== | ||
| + | |||
| + | You can get // | ||
| + | |||
| + | ===== Isolation level ===== | ||
| + | |||
| + | This property allows specifying database transaction isolation level that will be used when the process executes. Transaction isolation level is an advanced subject and its description is beyond the scope of this document. You can read this article [[wp> | ||
| + | |||
| + | ===== Process Diagrams ===== | ||
| + | |||
| + | If you click on the " | ||
| + | |||
| + | {{ docs: | ||
| + | |||
| + | |||
| + | The diagram shows conditions and actions of the rules of the process. You can click on the condition or action and edit it directly on the diagram (the full text of the action or condition is displayed at the bottom of the screen and you can edit it there). | ||
| + | |||
| + | If a process calls another process (sub-process) it is displayed as a blue box on the diagram. You can double click on this box (or click " | ||
| + | |||
| + | {{ docs: | ||
| + | |||
| + | To collapse the rules of the sub-process click on the " | ||