Grailsflow allows you to manage processes, their definitions and activities related to a process. This user's guide describes some of the basic features of Grailsflow and how you can use them.
Start by clicking the menu item 'Start Process' and review all available process definitions. When you select a definition (or process type) you start a process of that type.
After a process was started the 'Process Details' page with process flow information is displayed. If the start node is "interactive" a 'Start Node Details' page is shown. This page allows the user to change the default values for the available process variables. After pressing an action (or event) button, the process starts using these variables values.
You can also start processes automatically at a later point. To do this go to 'View Scheduler Details' and press the 'Schedule Process' button.
The 'List Processes' menu contains a list of started processes and the allowed operations for each process. When you click on a process, you see all details of the process, it's nodes and their statuses. Also, it is possible to view a graphical representation of started processes (visited nodes, untouched nodes, interactive nodes which are currently waiting for user actions, etc.). The graphic shows all nodes of the selected process with their statuses (marked by different colors). Any active process can be killed.
'Show Worklist' menu item contains list of nodes that are waiting for user input. It is possible to click on the node ID and see the 'Node Details' page with information about the selected node. In the 'Node Details' page it's also possible to review and change process variables values and select an event, that get's sent to the node. Events and their names can be seen as the name of the transition to another node. After the event has been sent, the 'Process Details' page is displayed.
Edit Process Types
'Edit Process Types' lists all available process definitions. This menue allows to add, edit or delete process. On the 'Process Editor' page (when process type for edit is selected) there are two tables:
The process editor gives a graphical preview of the process. The preview is generated automatically, the nodes are placed automatically, so the resulting image might need adjustment to be used in a process documentation.
The process editor includes an action editor to define actions for each node. Action editor uses plain Groovy code. Drop-down lists for Process Variables and Actions contain lists of variables and actions which can be used. If action is created for the node with type 'automatic', 'return' statement, that triggers the next transition, should be specified.
Node can have different types:
Analyze Response Time
Allows to analyze the response time of executed processes. GrailsFlow searches all process nodes for a process type, determines the time used for each node, then checks for the min., max. and average time and displays them on screen. The process type nodes can be sorted by minimum and maximum execution time, by the average execution time, etc.JQPlot graphic is used for protocolling process nodes execution.
'Show Documents' lists the documents that are attached to processes. Documents are stored as simple files in the file system. For each day, a directory is created. If you click on the directory, you can see the list of files uploaded on that day.
View Scheduler details
'Scheduler details' is used to monitor the Quartz jobs and the configuration of the Quartz library. It shows the Quartz configuration parameters and allows to view all currently running jobs and to pause, delete and edit jobs.
It also provides the ability to manually schedule processes for the execution at a later point in time.