Book Contents

Book Index

Procedures

A procedure is a generally designed rule that defines common rules and sequences of steps of a certain kind of process in the company. A specific process then runs according to this rule.

Each procedure has its header and procedure version. So-called procedure versioning makes it possible to make changes to kinds of procedures that are currently being used for processes. A new procedure version is created for the same header, and in this newly created version the user can then make changes while the processes currently running in the company use the unchanged, still valid version of the procedure.

Procedures book

The Procedures book is a list of all versions of workflow procedures.

pic_538_2023

Picture: Procedures - book

Description of columns:

C

Procedure status (confirmed/unconfirmed/cancelled).

N

Deployment - if at least one process exists from the given procedure version, an icon is displayed: - means that processes have been created from the given procedure version, of which at least one is not yet terminated or is suspended.

- means that processes have been created from this procedure version, but all of them are already terminated.

If the column is empty, it means that no process has yet been created from the given procedure version.

Version

Serial number of the procedure version, automatically assigned by the program.

Directive

Indication of whether the procedure is a directive.

Classification

Classification of the procedure (ISO, operational, business)

Valid from

The procedure is valid from the specified date.

Valid to

The procedure is valid to the specified date.

When approving versioned procedures, the dates in the "Valid from" and "Valid to" fields must not overlap for versions of one procedure header. I.e., one procedure header can have only one valid (approved) version at any given moment.

Description of keys:

Ins

Creating a new version of the procedure.

F6

New revision of the procedure (the release field keeps the same number as in the original procedure and the revision field is set to a number higher by 1).

Alt+F2

Confirmation of the procedure (approval status).

Alt+F3

Deactivation of the procedure.

Ctrl+F2

Undo the confirmation of the procedure (from the approved status back to the editing status).

Ctrl+F6

New release of the procedure (the release field is increased by 1 and the revision field is set to 1).

Shift+F6

Copy of the versioned procedure.

Note: Creating a new revision or release copies the procedure from which the function is run. As needed, we then adjust the release number, revision, validity, etc.

In Administrator - System - Multi company administration, it is possible to split procedures among own companies in the Workflow procedures module. This action also splits the processes. The name of the own company can then be found in the record preview.

pic_4122_2024

Picture: Splitting a procedure in Multi company administration

Procedures - basic data

On the 1st tab of versioned procedures, we select the procedure header; it contains basic information about the procedure version, e.g. its validity and the roles that the given procedure version concerns.

pic_1061_2023

Picture: Procedures - basic data - Goal tab

Description of fields:

Procedure

Abbreviation of the procedure header, language Name of the procedure header.

Version

Procedure version number (assigned automatically by the program; numbered in ascending order from 1 for each header).

Valid from

Time value from which the procedure is valid. (For the procedure to be valid, it must also be confirmed.)

to

Time value until which the procedure is valid.

Edition

Release number of the versioned procedure. After checking the Directive field, this number can be edited.

Standard

General code list of standards for closer identification of the given directive (filled in by ourselves according to the valid ISO 9000 standards). The field is active after checking the Directive field.

Classification

Classification of the versioned procedure (general code list for closer identification of the given directive).

Reviewed

Date and contact person who reviewed the given procedure (directive).

Sensitivity

Selection from a user code list.

Revision

Revision number of the versioned procedure. After checking the Directive field, this number can be edited.

Chapter

Chapter abbreviation (general code list for closer identification of the given directive). The field is active after checking the Directive field.

Directive

Checking this field classifies the given versioned procedure as a directive.

Authorised by

Date and contact person who approved the given procedure version.

Created by, Changed by, Confirmed by

Date and user who created, changed or confirmed the given procedure version.

Procedure document

Abbreviation of the document assigned to the procedure.

Display the "Task instructions" field

If checked, the Task instructions tab is displayed in the Process and the Work step.

Tab description:

Description

Procedure description

Target

Description of the Goal of the given procedure version. (What the process solves.)

Distribution list

List of contact persons for whom the given procedure version (directive) is intended.

Notification

List of roles whose contact persons can see the entire versioned procedure in the Own procedures and steps book.

Monitoring

Contact persons included on this tab will have the processes created from this procedure included in the Monitored processes book. They will be able to monitor these processes even though they do not have the Process view mode right. This function is useful e.g. for monitoring processes in which the user's subordinates have various tasks.

Right to run

List of roles whose contact persons can create a process from this procedure version.

Responsibility

List of roles from whose contact persons the person responsible for the process can be selected when creating a process from the given procedure version. These persons can also cancel the process if they also have the Process cancellation right. These contact persons can also see the entire versioned procedure in the Own procedures and steps book.

 

Variables

List of variables allowing users to enter additional values when handling a process.

Process debug parameters

List of parameters that can affect the process. For example, suppressing the step assignee according to the procedure.

pic_1063_2023

Picture: Procedures - basic data - Variables tab

Variables

Variables allow users to enter additional values when handling a process. This makes it possible to extend the data structure of the process (e.g. using this variable we can force the user to enter the cost centre for which the invoice for approval is intended, or to enter the start and end date of a holiday, ...).

We work with variables mainly when using parameters on the Action tab. The variables entered here are created in the Variables definition book and then selected from this book.

If we want to set further properties of a variable that will apply only to this procedure, we can set them right here, on the Variables tab. We thus insert variables for the whole procedure, and these variables are then used in steps. Variables are inserted here with the Ins key.

pic_1075_2023

Picture: Procedure variable - form Procedures - Variables tab

Description of fields:

Variable

In this field, we select a variable from the Variables definition book.

Value

Here we enter the Value that will be automatically stored in the Variable when a new process is created; the user will be able to overwrite the value in the process.

Internal variable

If the Procedure variable is marked as Internal, it is not displayed in the Steps book when pressing Shift+F8. A variable not marked as Internal is displayed with its current value after pressing these keys.

Input passed variable

If the same Variable exists in the subordinate process (subprocess) or the superior process, the values of this variable will be passed when this field is checked.

Ex.: There is a process with step "A" with the variable value "5". In the following subprocess, there is step "B" with the same variable and with the Input passed variable field checked. The value "5" from step "A" is inserted into the value of this variable.

Output passed variable

On exit from the subordinate to the superior process or vice versa, the values of the same Variable will also be passed back when this field is checked.

Ex.: In a subprocess, there is step "A" with the variable value "5". If, in step "B" of the superior process with the same variable and with the Output passed variable field checked, we insert the value "6" into this variable, this variable is also overwritten with the value "6" in step "A".

Book Contents

Book Index

Procedures - header

The Procedures book contains all headers of versioned workflow procedures. Each procedure header can have several procedure versions. However, for each header, only one procedure version can be valid at any given moment, and it will be used for the process.

The Procedures book can be displayed on the basic data tab by invoking the selection (using the F12 key) in the Procedure field.

pic_1074_2023

Picture: Procedures - displaying the list of procedure headers

In this book, we can create a new procedure header with the Ins key, or select a previously created header for the versioned procedure by highlighting the header and pressing Enter.

When creating a procedure header, basic identification data is filled in.

pic_1083_2023_1

Picture: Procedures - creating a Procedure header

Description of fields:

Abbreviation

Abbreviation of the procedure header. The abbreviation is mandatory and there must not be more headers with the same abbreviation.

Name

Name of the procedure header.

Type

Type of the procedure header - a user code list, used e.g. for sorting or grouping headers by a certain criterion.

Language name

This field makes it possible to assign a name in a foreign language to the header (see User parameters - Language).

Description

Additional details about the record

Procedures - editor

The procedure chart is defined on the editor tab of the Procedures book.

The chart is created from individual procedure steps (chart nodes) connected by arrows. Together they represent the run of the process.

Further information can be added to the procedure and to the chart objects (arrows and nodes) (on the Steps, Steps order and Links tabs), through which further conditions for the course of the process are entered, thereby refining its functionality.

pic_1065_2024

Picture: Procedures - editor

A step or arrow in the chart is selected by marking the object with the left mouse button. This node is outlined in red. Depending on the selected node, information about this node is displayed on the tabs below the chart. Using the combination of Ctrl and the left mouse button, we can mark several nodes in red at once.

The user invokes the form of an individual step or link either by double-clicking directly on the picture representing the step or link in the editor, or via the tables below the editor on the steps, steps order and links tabs. Here we select the required step or link and get to the same form. Here we can freely enter variables, scripts and more.

Chart

The chart defines the course (path) of the process.

To activate the panel with the step selection, it is necessary to switch to change mode (F5). The panel is then displayed in the upper left part of the editor. A node is placed into the chart by marking the relevant icon on the toolbar with the left mouse button (the icon becomes active), and then placing it by pressing the left mouse button in the area intended for the chart.

Chart properties:

Connecting two nodes with an arrow:

pic_1073_2024

Picture: Procedures - editor

Description of buttons:

pic_289i

Selection of objects

If this icon is marked, we can select objects in the chart and move them. We cannot insert them into the chart.

pic_280i

Initiation

Step of the Beginning type - a mandatory step, marks the beginning of the process run; each versioned procedure always has exactly one such node.

pic_281i

Termination

Step of the End type - a mandatory step, marks the end of the process run; each versioned procedure always has exactly one such node.

pic_282i

pic_283i

pic_284i

Transformation

Decision

Distribution

Process steps must be connected by a Bind arrow; their functionality is identical.

pic_285i

Nested procedure

Step of the Nested procedure type - a process step that makes it possible to insert (nest) another procedure into the procedure.

pic_286i

Notification

Step of the Notification type - used to inform users. Similarly to the Checkpoint, it does not affect the process run. (E.g. it informs that the process has reached this step or that a certain step has been approved in the process.)

pic_287i

Bind

Forward arrow - the process continues to another node.

pic_288i

Feedback

Backward arrow - can lead to another (earlier) node of the process or to a step of the Termination type.

Next to these buttons, three more buttons have been added: Copy, Insert and Delete. Their functionality and keyboard shortcuts are the same as when using these buttons in normal user activity. This means clicking on the selected node, using e.g. the Copy button or the Ctrl+C keyboard shortcut, and then inserting it into another part of the chart using the Insert button or Ctrl+V.

In the right part of this bar, it is also possible to zoom in on the chart using the + icon or zoom out using the - icon.

In the lower right part of the editor, there is a so-called React flow, which shows the overall layout of the designed chart. This is useful when building more complex diagrams.

Description

On the Description tab, we can enter a description of the procedure or step. Clicking the required step (either in the editor or in the table below it) opens a form. Here, if the user is in change mode, they can add any description.

Descriptions are accessible in other books such as Steps, Processes, etc.

Descriptions can be localized into other languages with the Language description button (see User parameters - Language).

pic_2448_2024

Picture: Procedures - editor - step - Description tab

Assignees

On the Assignees tab, we enter the roles that are to handle the given step. It is also specified here how the step assignee is to be selected (the Selection method field). To select the assignees of a specific step, the user is shown the set of all contact persons entered in the roles. From this group of assignees, the user then selects the step assignee in a specific process.

pic_1703426

Picture: Procedures - editor - step - Assignees

Description of fields:

Selection method

The selected variant determines how and for whom the given step will be created. By default, All is entered here.

 

One of them

The step is created for all persons in the specified Role, but after the step is accepted by one of these assignees, the step is cancelled for the others. (If one assignee performs an event other than Loading, the step is cancelled for the others.)

 

User-selected one of

Before the next step is created, the user who is finishing the previous step is shown a list of contact persons from which the user:

  • selects the owner of the next step; the step is then created only for this selected assignee,
  • marks several owners of the next step with an asterisk; the step is then created for the marked owners. After the step is approved by one of them, the step is deleted for the others.

 

 

All

The step is created for all persons in the specified Role. All these persons must approve the step. The Approval event occurs only after the step is approved by the last person in the role. In the case of Rejection, however, rejection by one assignee is sufficient and the step is cancelled for the others.

 

All - select by user

Before the step is created, the user who is finishing the previous step is shown the option of selecting contact persons. The step is then created only for the marked persons. Further processing corresponds to the All selection method.

Consider the Center

The prerequisite is that the workflow is connected to the organizational structure. If a structure by job positions is defined in the organizational structure, the tree from this structure will be respected and the corresponding step will be displayed to the assignees from the given branch.

Assignee is superior

Checking this option adds the assignee - the superior according to the connected organizational structure.

Allow the same step assignee multiple times

Checking this option sets that the same assignee can be on a step in the process multiple times. This is the case when we want a specific person to approve the step multiple times from different positions of the org. structure.

If the user is in change mode and wants to add a step assignee using the Insert key, the following form is displayed.

Description of fields:

Roles

Here the step assignee is selected from the Roles book. Persons included in these roles can be selected to handle this step.

Substitutability - Mode

Deputizing mode, on the basis of which other persons can deputize for persons included in the role specified in the Role field when handling the step. Description of deputizing - see Deputizing.

pic_2449_2_2024

Picture: Procedures - editor - step - entering Assignees

In the function of searching for step assignees according to the org. structure, the validity of the org. unit and the validity of the person (FROM/TO) can also be taken into account

pic_2450_2023

Picture: Validity of the organizational unit and person

Deputizing

Deputizing is used so that a step can be handled by a person other than the step assignee if the assignee is absent (i.e. has an Absence entered).

The deputizing mode is set for individual Roles in the Step assignee form:

When deputizing in the "Superior" and "By role" modes, the Consider cost centre option can be enabled - in that case, only persons who have the same cost centre entered in the organizational structure as the assignee deputize.

pic_4116_2023

Picture: Deputizing setting "By role"

All deputies are shown the specific steps in the Steps and Pending books. In these books, deputies can change the assignee (transfer the step to themselves) by running the Deputize operation and start handling the step.

Handling of the step can also be transferred to a deputy with the Forward operation. The following persons have the option to forward steps in a specific process:

Steps can be forwarded not only to deputies but also to other (or back to the original) step assignees.

Action

When users handle steps, actions arise in the process. These actions control the run of the whole process.

There are user actions and system actions.

By entering parameters or scripts we specify that some further activities are to be performed during this action. In this way, the process run can be further controlled, e.g.:

By entering parameters and scripts in actions, these events are then triggered during the process at the specified actions.

For a process, the actions record the Change of process status; for steps, the History of step actions is recorded (in the Processes book).

pic_1703708

Picture: Procedures - Editor - Action tab

If several actions are defined for the same event, the system takes their order into account (actions with the lowest number have priority). The order can be adjusted in the table using the Order column - after clicking this column, arrows are displayed with which the order of the action can be changed.

pic_1703709

Picture: Procedures - Editor - Action tab - arrows

Description of fields:

Abbreviation

Abbreviation of the step. It is predefined and can be changed; it must be unique within the designed procedure.

Name

Name of the step. This name is also displayed in the chart next to the step.

Language name

Makes it possible to enter the Name of the step in other languages (see User parameters - Language).

Type

Step type (transformation, decision, distribution)

Document text

Any text that is displayed next to the step when printing the Procedure and Directive reports.

Grouping

Allows the user to include the given step in a group of steps (see Steps grouping below).

Priority

The Priority of the step is entered. The field is pre-filled according to the Priority entered in the procedure. In the Work steps/Pending book, the user can sort steps according to the priority entered here (the priority is displayed on the zero page in the Pt column by a flag symbol of different colours - see Work steps - Book).

Type of time interval

The Type of time interval is entered here. The field is pre-filled according to the Type of time interval entered in the procedure.

Time for completion

Based on the Time for completion of the step, the date by which the user is to handle the step (approve, forward, reject) is calculated. The date is displayed in the Process step in the Deadline field. The field is pre-filled according to the Time for completion entered in the procedure. The date for completion of the step also takes into account the values entered in the Type of time interval field.

Calendar

Type of the calendar used

Notification of new step

Checking this option sends notifications to assignees when a new process step is created.

Notify

Checking this option sends notifications to assignees about the deadline for completing a new process step.

The Priority, Type of time interval and Time for completion of step fields are filled in here as the default value for steps. Each newly created step will have these values filled in these fields on the Action tab. If we change the values in these fields and the procedure already has some steps created, the system asks whether we want to change the changed value in the already created steps as well. If we answer "Yes", the value is changed in all steps and will apply to all newly created steps; if we answer "No", the new value will apply only to all newly created steps.

A new event is entered on the Action tab with the Ins key.

Description of fields:

Event

Here the events are set at which Scripts are to be run or Parameters handled. The Procedure has the Input event set by default and it can be changed. The Arrow has the Input event set and it can be changed. Steps have several events preset, see the description below.

Script

Here we can select the Script that will be run at the action entered in the Event field. Description of scripts - see Scripts. In the Parameters field, we can also enter parameters that this script will use and evaluate.

Parameters

Used for inserting Parameters that will be handled at the specified event. Description of parameters - see Parameters. If we have entered a script and also want to enter parameters for the same event that do not belong to the script, we must enter these parameters in another item of the step (procedure).

Up

When several parameters are entered, the selected parameter can be moved up in the list.

Down

When several parameters are entered, the selected parameter can be moved down in the list.

Copy, Insert

Parameters can also be copied and inserted between individual steps.

Link actions

When setting a link property, we determine to which status the process is to change when passing through this link (Don't change, Suspended, ...).

When a link is created, a property is created on the Action tab with Don't change entered in the Process status field.

pic_1069_2024

Picture: Link action form opened after marking the link

The following properties can be entered for an arrow:

Name

Arrow name - text displayed next to the arrow in the chart.

Order

Determines the order in which the arrows leading from one node were created and the order in which these arrows will be handled.

Process status

Here we can influence the process status. This can be used for decision-making at steps with a nested procedure or for displaying the process status, showing what status the process is in or whether the process ended with approval or rejection. If the process passes through this arrow, the process status changes to the one entered here:

  • "Running" - the process status changes to "Running".
  • "Do not change the process status" - the process status remains unchanged (default).
  • "Approved" - the process status changes to "Approved".
  • "Suspended" - the process status changes to "Suspended".
  • "Rejected" - the process status changes to "Rejected".

Action

Action type (Approval, rejection)

Shape

Link shape (polyline, straight, vertical, horizontal)

Steps grouping

Steps grouping allows the user to combine several procedure steps into one group. The following step then views this grouping of steps as one unit (step). Steps grouping is used if persons at a step with the same (or a similar) task must not see each other's variable values. Therefore, they cannot be included in a role for one step. Each of them must approve the step separately, but the following step may be created only when all steps in the grouping are approved.

Note: Steps grouping can also be controlled dynamically. More detailed information can be found in Dynamic steps grouping.

pic_1139_2024

Picture: Steps grouping

Creating Steps grouping

A step is included in a grouping by marking it and, on the Action tab, entering a single-digit number or letter in the Grouping field - the so-called grouping identification. This identification must be the same for all steps that we want to include in one grouping. In the chart, the grouping identification is visible after the step name as the letter or number of the grouping in brackets.

A Feedback arrow must lead from each step in the group. When a step is rejected by one user, this step is cancelled for all persons at the steps in the grouping and the step to which the Feedback arrow leads is created.

Example of use:

The persons assigned to the steps "Production cost centre", "Sales cost centre" and "Purchase cost centre" (hereinafter "Cost centre directors") are to approve the turnover that was sent to each "Cost centre director" by the person assigned to the step "Entering turnover and sending for approval". The step named "Turnover approved" must not be created until all "Cost centre directors" have approved their step. The steps "Production cost centre", "Sales cost centre" and "Purchase cost centre" were therefore included in Grouping "A". If all steps in this grouping are approved, the step named "Turnover approved" is created. If any person in grouping "A" rejects their step, the process returns to the step "Entering turnover and sending for approval". After the step "Entering turnover and sending for approval" is handled again, the steps in the grouping are created for all persons again.

Note: If the person at the step "Production cost centre" rejected the step before the persons at the steps "Sales cost centre" and "Purchase cost centre" managed to approve their step, this step is cancelled for them. However, if they have already approved this step, the step is not cancelled by the rejection by another user in the steps grouping.

For a more detailed description of scripts and parameters, see Workflow scripts and Workflow parameters.

Book Contents

Book Index

Parameters

Workflow parameters are entered in the Procedures book on the Editor tab on a specific process step. They are always entered for the step at which the user wants to evaluate/enter the parameter.

The parameter is evaluated at the moment when the user performs this specified event in the process step (or in the process).

Process status

Parameter "ProcStatus" - Process status:

External document type

The "DocType" - Document type parameter allows the user to insert into the process a document stored on their computer. This is done using the Insert button in Attachments in the step detail in the Pending book. This button becomes active when the parameter is entered correctly in the procedure:

pic_1177_2024

Picture: The Types form after selecting the "DocType" parameter

In the To Do / Steps book, the user switches to change mode and, in the Attachments table, inserts a Document using the Insert button

pic_2877_2023

Picture: Pressing the Insert button, displaying the list of document types for insertion

Insert product

The "InsProd" parameter - Insert product allows the assignee of a process step to attach K2 Products (an invoice, a bank statement, a delivery note, ...) to this process. This is done using the Insert product button in the step detail in To Do. This button becomes active when the parameter is entered correctly in the procedure:

pic_2878_2024

Picture: The Product form - entering products in the "InsProd" parameter

In the To Do book, the user switches to change mode and, in the Attachments table, inserts a Product using the Insert button.

pic_4309_2023

Picture: The Work step form after pressing the Insert key in Attachments

Owner by other step

The "UserStep" parameter - Owner by other step is used with the Input event and, based on the owner of another step, selects the contact person for whom the step will be created.

pic_1179_2024

Picture: The Procedure steps - book form after selecting the "UserStep" parameter

Book Contents

Book Index

Automatic attachment of documents

Parameter - "Automatic attachment of documents" - AutoJoinDocument

Same owner

The "SameUser" parameter - Same owner is used with the Input event. From the contact persons assigned to the step Role, it selects the step owner who has already processed the step before (rejected or approved it).

Ex.: Five coordinators in a company send contracts to the director for signature. When the director refuses to sign a contract, the contract approval process returns to the coordinator who sent the contract to the director.

Select the following step

Using the "SelStep" parameter - Select the following step we allow the user, at the Output event (Approval or Rejection of the step), to select from the following process steps the step that is to be created. The user can also select more of these steps.

Calculation of variable value

Using the "CalcVar" parameter - Calculation of variable value the specified value is assigned to the process variable at the specified event.

Note: For an explanation of the nt, ad, or, IF, "V, "P buttons, see Description of fields in the editor, the "ArrowIf" parameter.

Ex. 1: In the picture below, the value "6" is set in the DNU process variable at the Approval event of this step.

pic_1180_2024

Picture: The Create query form after selecting the "CalcVar" parameter for entering its Value

Ex. 2: {CALCVAR}[DATUM_OD]:=[DATUM_OD_PL] - the selected event of the step or process assigns the current value of the DATUM_OD_PL variable to the DATUM_OD variable.

Ex. 3: {CALCVAR}[DATUM_OD]:=0 - a zero date is assigned to the DATUM_OD variable.

Ex. 4: {CALCVAR}[DATUM_OD]:=%12.12.2012 - 12.12.2012 is assigned to the DATUM_OD variable. (We put the percent sign before the date value).

Ex. 5: {CALCVAR}[STAV]:='Výchozí' - the text "Výchozí" (Default) is assigned to the STAV variable. (A text value of a variable must be enclosed in apostrophes).

Check variables

Using the "Validation" parameter - Check variables we ensure a check of the value of a variable entered in the process.

pic_1703482

Picture: The Expression entry form after selecting the "Validation" parameter for entering its Value

Variable setting

Using the "SetVar" parameter - Variable setting we allow the step user to enter/change the value of a selected variable while the process is running (e.g. the invoice amount, the cost centre code, entering text...). The process can then be further evaluated and controlled according to this variable. (E.g. based on the cost centre entered, it is possible to determine to which persons the process will be directed next).

The User for work step

The "UserVar" parameter - The User for work step allows us to create a step in the process for a contact person according to the value of a Variable. The parameter variable can be entered using the Expression entry form, which appears after selecting the "UserVar" parameter. We enter the variable in the Expression field, either using the "V button and selecting the offered variable, or we can type it manually by writing the variable Identifier in square brackets.

pic_1943_2024

Picture: The Expression entry form after selecting the "UserVar" parameter for entering its variable

For the parameter to work correctly, the variable must meet the following conditions:

Ex.: In the picture above, it is specified, using the "V button, that the step in the process will be created for the person currently entered in the process in the value of the "USRGRP" variable.

Action on the product

The "ProdAct" parameter - Action on the product allows the specified action to be performed on the product that will be assigned to the process.

E.g.: When the step is approved, the invoice in is confirmed; when the step is rejected, the invoice in is cancelled.

pic_1963_2024

Picture: The Entry of action on product form after selecting the "ProdAct" parameter

Product

Here the product header is selected. The specific product that will then be assigned to the process is either confirmed or cancelled at the specified event.

Action

Here we enter the type of action that is to be performed on the product at the specified event. The following actions can be performed on a specific product assigned to a specific process:

If a product that does not meet the conditions for performing the action is assigned to the process, the K2 system will not allow us to perform the operation that performs this action.

If a product on which the specified action has already been performed is assigned to the process, the K2 system will allow the operation to be performed.

Check the closure of existing steps

The arrow parameter "AllStepsClosed" - Check the closure of existing process steps handles the convergence of steps into one "Merge" step - the merge is generated only when all steps of the process are finished. "Notification" steps are not taken into account.

Automatic end of step

The "AutoStepClose" parameter - Automatic end of step allows a step to be ended immediately based on a defined condition.

Arrow evaluation

The parameter is entered for an arrow, i.e. after selecting the arrow, and is used to evaluate whether the process should continue via this arrow.

E.g. the process can go through different steps for a higher invoice amount, for different cost centres entered on the invoice, ...

For the evaluation, we can use:

pic_3120_2024

Picture: Setting the value of arrows when entering the invoice amount

Description of the buttons in the form:

nt

Logical expression "not" (for negating the expression in brackets).

ad

Logical expression "and" (logical conjunction).

or

Logical expression "or" (logical disjunction).

IF

Logical expression "if" (used to select a value under certain conditions).

"V

Used to select a variable from the Book of procedure variables. Pressing this button displays the Variable definition book.

"P

Used to enter a field from an assigned K2 product (from an invoice, an order...). The value of this field will be evaluated while the process is running. Here an aggregate function ("first", "last"...) is entered, which determines the method of evaluating the variable if the process contains more products of the same type (e.g. more invoices in):

Ex.: The process has 3 invoices in assigned. The first has a Net amount of 300 CZK, the second 200 CZK and the third 10 CZK.

  • "First" - the field value from the first occurrence of the product (from the first invoice entered) is evaluated - the Net amount of 300 CZK is selected for the evaluation.
  • "Last" - the value from the last one is evaluated - the amount of 10 CZK is selected for the evaluation.
  • "Max" - the maximum value of all is selected - the amount of 300 CZK is selected for the evaluation.
  • "Min" - the minimum is selected - the amount of 10 CZK is selected for the evaluation.
  • "Count" - the number of all values is counted - the number 3 is selected for the evaluation.
  • "Sum" - the sum of all values - the amount of 510 CZK is used for the evaluation.
  • "Avg" - the average of the values - the amount of 170 CZK is used for the evaluation.

Export and import of a procedure

Export

The export is performed on the current record by running the Function from the ribbon - Export procedure.

pic_1964_2023

Picture: The Export form

In the input form, in the Output file field, we enter the path and the file name. After pressing the OK button, the xml file is saved.

Import

The import is performed by running the Function from the ribbon - Import procedure.

pic_4120_2023

Picture: Import form

In the input form, in the Input file field, we select the file.

During the import, we can check the following options:

The procedure is always imported in the "editing" status, with all the data entered in the imported procedure. The contact person fields Authorised by and Reviewed are not imported.

If the roles or variables contained in the imported procedure do not exist in the K2 into which we import the versioned procedure, they will be created including the assigned contact persons.

If the product contained in the imported procedure does not exist in the K2 into which we import the versioned procedure, only the header of this product is created. If we also want to import the version of the given product, we use the function in the book of workflow products (see Export and import of a workflow product).

Versioned procedures - reports

Distribution register

Procedure

Process diagram

List of metrics

List of processes

List of abbreviations

Directive