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] – ↷ Page moved from 2500_config_apps:0900_add_edit_processes to docs:2500_config_apps:0900_add_edit_processes administrator | docs:2500_config_apps:0900_add_edit_processes [2025/06/12 03:58] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Adding/ | ====== 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 [[2000_concepts: | + | 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:2000_concepts: |
| - | The editor of processes can be started as described in the [[2500_config_apps: | + | The editor of processes can be started as described in the [[docs:2500_config_apps: |
| - | 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 [[2000_concepts: | + | 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:2000_concepts: |
| The following properties can be specified for a process: | The following properties can be specified for a process: | ||
| Line 19: | Line 19: | ||
| ===== Description ===== | ===== 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 [[2500_config_apps: | + | 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:2500_config_apps: |
| ===== Category ===== | ===== Category ===== | ||
| Line 31: | Line 31: | ||
| Instances of the business objects that the process works with may come from two sources: | 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 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 [[2000_concepts: | + | - The instances of the business objects the process needs may be written into the Context just before the process starts (see [[docs:2000_concepts: |
| - | | + | |
| 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. | 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. | ||
| Line 40: | Line 40: | ||
| The following options are available: | 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 [[2500_config_apps: | + | - //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:2500_config_apps: |
| - | - //Custom Software Component// – select this radio button if the process is implemented by a piece of code – see "Aware IM Programmer’s Reference" | + | - //Custom Software Component// – select this radio button if the process is implemented by a piece of code – see "AwareIM |
| ===== User name ===== | ===== User name ===== | ||
| Line 48: | Line 48: | ||
| ===== Allow cancel ===== | ===== Allow cancel ===== | ||
| - | //**Aware IM**// will automatically add the Cancel button when a process runs, so that the user can abort the execution of the process. Sometimes it may be necessary to disallow the user to cancel a process. In this case you need to untick this checkbox. | + | //**AwareIM**// will automatically add the Cancel button when a process runs, so that the user can abort the execution of the process. Sometimes it may be necessary to disallow the user to cancel a process. In this case you need to untick this checkbox. |
| ===== Handles " | ===== Handles " | ||
| - | Tick this box if you want the process to handle the " | + | Tick this box if you want the process to handle the " |
| ===== Run in the background ===== | ===== Run in the background ===== | ||
| Line 58: | Line 58: | ||
| 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. | 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> | + | {{page>docs:5000_videos: |
| ===== Single tab mode ===== | ===== Single tab mode ===== | ||
| Line 65: | Line 65: | ||
| <code aim> | <code aim> | ||
| - | VIEW Object</ | + | 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). | 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). | ||
| Line 71: | Line 71: | ||
| ===== Display under ===== | ===== Display under ===== | ||
| - | You can get //**Aware IM**// to display the process node in the Elements Tree under a node of some other process. If you want this select the process under which the current process should be displayed | + | You can get //**AwareIM**// to display the process node in the Elements Tree under a node of some other process. If you want this select the process under which the current process should be displayed |
| ===== Isolation level ===== | ===== 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 | + | 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>Isolation_(database_systems)]] for more details. If you don’t specify the isolation level, the default level ("read committed" |
| - | + | ||
| - | [[https:// | + | |
| ===== Process Diagrams ===== | ===== Process Diagrams ===== | ||
| Line 83: | Line 81: | ||
| If you click on the " | If you click on the " | ||
| - | {{ : | + | {{ docs: |
| Line 90: | Line 88: | ||
| 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 " | 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 " | To collapse the rules of the sub-process click on the " | ||