Book Contents

Book Index

Linking the Organizational Structure to Workflow

The Organizational structure module allows you to arrange work activities in the organization into job positions, define their hierarchical relationships and fill them with available employees.

The Organizational structure module therefore allows you to:

pic_4119_2024

Picture: Linking the organizational structure to workflow

One of the main advantages of using the organizational structure is the possibility to link the structure to the workflow module, thus enabling the use of superior/subordinate relationships in work steps. However, linking workflow to the organizational structure is not mandatory; without the link, roles to which contact persons are assigned are entered on the work steps.

Linking the Organizational Structure to Workflow

In the tree menu under Administrator/Parameters/Client parameters/Shop, we find the Workflow button, where we select the organizational structure that we will link to workflow.

If we cannot use any of the offered organizational structures, we open the My office/Workflow/Organizational structure node in the tree menu and create a new one. Using Insert, we create the header of the new organizational structure. On the Organizational units tab, we switch to edit mode and use Insert to define the job positions. A job position can be a superior, an employee, etc.

pic_3615_2023

Picture: Creating a new organizational unit

Description of the Organizational unit fields:

Superior unit

Selecting the superior unit places the unit in the organizational structure tree.

Job position

Selection from the Job positions book.

Cost centre

Selection from the Cost centres code list. After the cost centre is selected, its abbreviation and description are pre-filled in the Abbreviation and Name fields (used to create a cost centre structure).

Abbreviation

Unique abbreviation of the organizational unit.

Name

Name of the organizational unit.

Type

User code list (e.g. division, enterprise, cost centre)

Planned amount

Planned number of employees in this position.

Subordinate structure

Whether a subordinate structure exists.

Included employees

In the Included employees section, an employee working in the given position can be inserted using INSERT. The selection is made from the Contact persons book.

 

Deputy organizational unit

On the Deputies tab, deputy organizational units can be inserted using INSERT. The selection is made in the Organizational unit field from the organizational units of the same organizational structure. This field is not decisive for workflow.

In workflow, deputizing is set in the Procedures book. On a specific step of the process diagram, the deputizing mode can be defined on the Assignees tab.

Roles

Roles can be used in workflow to determine the assignees of a specific work step. The contact persons included in the Role are then generated a work step to resolve in the process.

By setting roles in the Organizational structure and linking it to the workflow module, the superior/subordinate relationships from the structure can then be used in workflow, e.g. displaying the steps of one's subordinates, setting the deputizing mode to Superior, etc.

In the organizational structure, a role can be assigned to an Organizational unit or to a specific included employee (contact person). By assigning a role to an organizational unit, all included employees of the Organizational unit are automatically included in this Role.

 

Subordinate org. units

Subordinate organizational units, if any, can be inserted into this table.

If workflow is linked to the organizational structure and the procedure contains a step that has the "Assignee is superior" option enabled in the Assignee section, the Role is now searched for in the entire branch of superior nodes (org. units) upwards. If a node is found for the Role, further superior nodes are no longer searched.

Book Contents

Book Index

Whistleblower Protection Act (Whistleblowing)

The Whistleblower Protection Act No. 171/2023 Coll. (so-called Whistleblowing) can be handled in K2 by starting a procedure via the workflow module. To meet the anonymity requirement, the procedure will be started from a website via K2 API. Submission is done by entering a name, an email address, or by attaching attachments, both for employees and for other persons who do not have an employment or other relationship with the company at that moment. The process will then be managed by the selected competent person from the company.

The competent person is obliged to notify the whistleblower of the receipt of the report within 7 days of its receipt. This condition is met when the report is sent from the website, as after sending the message "Your report has been received" is displayed, which means that the first step of the automatically started procedure has been created in the competent person's K2.

All communication between the whistleblower and the competent person is then documented through the workflow module in the started process by attaching attachments and comments to individual steps. After receiving the report, the competent person will have the whistleblower's email address and can therefore establish email communication with them. The designated person would add this email communication to the process by attaching attachments or adding comments to individual process steps. The designated person will also approve the individual steps themselves.

If the report is not assessed as justified, the competent person shall without undue delay notify the whistleblower that, on the basis of the facts stated in the report and the circumstances known to them, they have not found any suspicion of unlawful conduct, or have found that the report is based on false information, and shall inform the whistleblower of the right to file a report with a public authority. If the report is assessed as justified, the competent person shall propose to the obliged entity measures to prevent or remedy the unlawful situation.

Software requirements

General settings

First, the designated person must be defined; you can either use existing users and an assigned contact person, but for security reasons we recommend a new login with rights to whistleblowing only.

newuser

Picture 1 Example of creating a new user only for the needs of the designated person

For an employee who already has a user and a contact person created, these settings must be linked. This can be done in the Contact persons book, where we find the relevant person and set the user in the Officer table on the basic data tab.

contactperson

Picture 2 Linking a contact person and a user

Furthermore, the given contact person must have the K2 API login credentials set on the Web, eshop tab, which will be used to communicate with the website.

K2API

Picture 3 Setting up K2 API for communication with the website

Then we open the User roles book and create a new one using Insert. We fill in the mandatory name field, for example Whistleblowing for better orientation.

Userrole

Picture 4 Creating a user role

On the Record groups tab, I use Insert to open the record access groups form, and using Insert in the Record access groups with read permission column, I create a new group. I fill in the abbreviation and enter any number. I enter the same created record access group in the Record access groups with change permission column.

Rightsgroup

Picture 5 Creating a new record access group

Roles

Picture 6 Assigning a record access group

Now we return to the Users book and find our designated person, switch to edit mode with F5, click to the Roles and rights tab, assign the user role we created in the user roles table using Insert, and save.

prirazeniuserole

Picture 7 Assigning a user role to a user

Next comes the setup of documents via the DMS module Documents administration – settings - document configuration. Here I use Insert to create a new record named, for example, whistleblowing. A number is generated for this record. As the type, we select document file.

Konfuguracedokumentu

Picture 8 Document configuration

We then need to assign the record right that we created to this document type. In the default table settings, we insert a new column sensitivity (RightgroupId) and, using the keyboard shortcut Ctrl+Shift+F5, assign the whistleblowing record right that we created.

rightgroupid

Picture 9 Assigning a record right to a document type

Then we can import the xml procedure itself. We open the Procedures book and the procedure import. Here we select whistleblowing.xml from the supportfiles – wkf folder and perform a standard procedure import. Then, on the basic data tab, we set the right to start. Using Insert, we create a new role – Designated person, and in the persons in role table we assign our contact person. Then we confirm the procedure.

pravonaspusteni

Picture 10 Defining the right to start

We return to the Procedures book and add the procedure number (Id) column to the table

IDpostupu

Picture 11 Adding the procedure number to the table

Web Application Settings

The web application contains a configuration that everyone must set up - name/password for K2 API, address for K2 API, abbreviation of the WKF procedure to be started, and the document type under which attachments will be filed in K2. On submission, the workflow procedure is started via K2 API, and the data entered by the user, including attachments, are passed to it.

Create an application for whistleblowing on the web server. In the path \K2SQL\SupportFiles\Whistleblowing\Web you will find the web application, which you copy to the web server. Set the configuration parameters in the config.php file.

// ------------------------ CONFIG ------------------------

$api_path = ""; // API address

$api_username = ""; // User name for the API (see picture 3)

$api_password = ""; // Password for the API (see picture 3)

$wkf_procedure_definition_id = 0; // Identifier of the workflow procedure for whistleblowing (see picture 9)

$wkf_process_right_group_id = 0; // Identifier of the record right for the workflow process (see picture 5)

$wkf_process_name = ""; // Name of the created workflow process

$document_type_id = 0; // Identifier of the document type (see picture 6)

// ------------------------ CONFIG ------------------------

To illustrate, we present the entire process of reporting unlawful conduct, which begins with filling in the data on the website and continues in K2 according to the set parameters that have been defined.

webovastranka

Picture 12 Example of filling in the website when submitting a report

kvyrizeni

Picture 13 Detail of a received report in the Processes book

kvyrizeni2

Picture 14 Detail of a received report in the To Do book

doplneniemailu

Picture 15 Adding email documentation to comments by the designated person

zaver

Picture 16 Process preview in the final phase with documentation added by the designated person based on communication with the whistleblower