Managing Procedures
This topic describes various common tasks that administrators can perform on Procedures.
Running a Procedure
A Procedure can be executed:
- When users click on Buttons or interact with other elements of a Screen (Button, Labels, Data views via drill-procedures, Charts via drill-procedures, Pagers, Google Maps and OpenStreetMaps via drill-procedures, Card Objects via drill-procedures, Tree Objects via drill-procedures, and Entity editors)
- Automatically, when a specific Screen is opened, or when data entry is performed
- Manually, from the Procedures home page
- Through a specific API call
- As a scheduled task.
To run a Procedure from the Procedures home page, select it and click the "RUN" button on top of the table.
Running a procedure from the Procedures home page will obviously exclude any contextual selection that the procedure itself should have inherited from a Screen Object or Screen of a Capsule.
Managing Procedures
You can perform different actions on one or more Procedures by selecting them and by clicking on the different buttons above the table.
The available actions are described below.
- To edit the main properties of a Procedure or review the entire series of steps and add or remove breakpoints, simply select the desired Procedure to open the properties panel.
You cannot edit the structure of the Procedure from the properties panel. To do so, you have to click on the "EDIT" button that appears on top of the table when a Procedure is selected.
- To edit the steps of an existing Procedure, select it and click on the "EDIT" button that appears on top of the table.
Once in the Procedure editor, you can move and create new steps, create groups, copy/paste groups or steps and add or remove breakpoints. See Creating a Procedure for more detail - To copy an existing Procedure, select it and click the "SAVE AS" button on top of the table, then enter the name of the new Procedure
- To delete a Procedure, select it and click on the "DELETE" button that appears on top of the table. This action will delete the Procedure and cannot be undone
- To remove all breakpoints of a Procedure, select it and click the "REMOVE BREAKPOINTS" button on top of the table. You can also remove all breakpoints of a Procedure from the Procedure editor, with the same button on top of the page.
The "REMOVE BREAKPOINTS" button appears only if the selected Procedure contains at least one breakpoint. See Procedure Debugger for more details on breakpoints
Monitoring Procedures
System Administrators (i.e. users with a Developer License the Admin option enabled in the Subscription Hub) can monitor the execution of Procedures from the "Running Tasks" page under System Administration.
This area shows all actions currently running on the server, such as Layouts and Procedure steps. The additional information shown includes the elapsed time, the user and the progress.
Some actions can also be stopped from this control panel.