Processes for quality: let the models work for you
Having learnt the basics of Text Models, we can automate a large part of the manual work in a custom business process. In this example we'll create a simple Risk Management Process based on a few templates. The configuration is simple and fully costumizable, and will when finished guide the user through decision making, and automatically generate a Risk Management Log according to the user's preferences.
In Text Models a process is configured using a Process file. The process file contains the following paragraphs:
States
: A paragraph that lists the templates for all the different states in the process.Transitions
: A paragraph that lists the different triggers that allow a transition to go from one state to another, e.g.Go To
,Continue With
orReject And Go To
andAccept And Go To
.Start State
: A paragraph that simply states the starting state of the process.Configurations
: This paragraph lists all the possible transitions from state to state. Each transition is listed in the form[BEGINNING STATE] -> TRANSITION -> [TARGET STATE]
.
Create a process file
Right-click the project tree in the Contents pane and select New > Process. Name the file Risk Management Process
. Double-click the file to open the file in a new pane.
The Risk Management Process
file shows the paragraphs that will form the process definition.
Select states
Select the Add Template button in the States
paragraph to open the dialog for selecting process state templates.
For this example, four templates have been prepared; Risk Assesment
, Risk Identifaction
, Risk Mitigation
and Risk Monitoring and Review
. Add the templates one by one (if your project doesn't include templates, close the dialog and create them as described in the instructions for creating templates).
Add transitions
To create a transition select the Add Transition button and enter Continue With
in the text box. If a process has choices, e.g. Accept
and Reject
, those choices are added here.
Select start state
The start state is the first state to run in the process. Select the drop-down box in the Start State
paragraph.
The drop-down list is populated with the available states in the process. For the Risk Management Process
the Risk Identification
state is selected as start state.
Configure state transitions
In the Configurations
paragraph all possible transitions between states are listed. Select the Add Configuration button to open the Configure Process dialog.
Select Beginning State, Transition and Target State in the dialog for each state transition in the process.
For the Risk Management Process
the transitions cycles between the states as shown in the figure, including a configuration looping from the last state to the start state such that the process can be repeated.
Add list as process log
The Process file defines how the process shall execute. A List shall be created to log the records generated when using the process. Each row in the list will be referring to a file which is the record for a process step. Create a list in the project file tree and name it Risk Management Log
.
As the process progresses a file will be created as record for the steps taken. Create a folder in the Contents pane to hold the records and name the folder Risk Management Minutes
.
Configure the list
Double-click the Risk Management Log
file in the Contents pane. This will open the list in a new pane. Select the Configure List button in the Risk Management Log
pane.
As Text Model Folder select the Risk Management Minutes
folder previously created. As template definition select the Risk Management Process
file.
Select Next to continue.
Add a column with Title
as column header. In the Cell Value ComboBox add {Title} [{FileName}]
. This will include the unique file name to the title attribute. Also add a column with header Date
and cell value {Date}
. Select OK to close the dialog.
The Risk Management Process
list is now ready to create and log all records in the risk management process.
Using the process
To create the first record in the Risk Management Process
select the Next Process State button.
When selected, a list of available transitions appear. The first possible transition is Start Risk Identification
.
The Next Process State button will show a list of possible transitions according to the current state of the process.