First, we need configuration file/files for the new process. In this example we will use one configuration file in all actions. After creating the configuration file etc/hos_docu_call_config_EI.php (EI means Emergency Instructions) as a copy of the sample file etc/hos_docu_config.php.sample and editing it, the configuration file looks like this (normally it would contain also descriptions in comments, but for the purpose of this document we removed them):
While editing the configuration file we have decided
that the process ID will be 'EMERGENCY_INSTRUCTIONS',
that the name of the repository archive will be 'EI',
that the process parameter prefix will be 'EI.PROC.',
that the prefixes of object key/data parameters will be 'EI.KEY.'/'EI.DATA.' ,
that there will be an object key parameters 'EI.KEY.SYSTEM'/'EI.KEY.DIR'/'EI.KEY.FILE' containing the information about the system/directory/file name of a program which is the object of an emergency instruction and that there will be an object data parameter 'EI.DATA.ENABLED' containing the information whether an emergency instruction is enabled or not.
Further we have specified expressions for how the system, key and enabled information of an emergency instruction will be evaluated from the object parameters.