To create an action, you need to go to the “Applications” -> “Actions” -> “Business Actions” tab and click on the “Add Action” field (see Figure 150).

Figure 150 – Creating an action
When you click on this field, the “Action Model” window opens (see Figure 151).

Figure 151 – “Action Model” window
The Action Model window contains the following elements:
Action name – field for entering the name of the action.
Name – field for entering an action parameter. As an action parameter, you can select one or more parse tree elements that are critical within this action.
Mandatory – a binary field that can take the values “Yes” or “No” (“
” or “
”, respectively). This field is responsible for the mandatory presence of a parameter for the action.An array is a binary field that can take the values “Yes” or “No” (“
” or “
”, respectively). This field is responsible for characterizing the parameter as an array of data.Model – when you click the highlighted icon, it opens the “Editing parameter model” window (see Figure 152).

Figure 152 – “Edit” window
Allow empty value - a binary field that can take the values “Yes” or “No” (“
”, “
” respectively). This field allows or denies the empty value of the selected model parameter.Count values as random strings - a binary field that can take values
“Yes” or “No” (“
”, “
” respectively). This field allows or denies interpreting the selected action model parameter as a random string.
Selecting a model class—selecting from a list of possible classes of an action model parameter. The list with descriptions is presented in the table section 14.
Table 14 – Action model classes
Class |
Description |
Options |
|---|---|---|
Length range |
Immutable sequence of integers |
Length between – select the values between which the length will be considered |
Sample |
Allows you to specify, using a regular expression, the value of an action model parameter |
|
Transfer |
Listing valid options for the value of an action model parameter |
Acceptable options – an input field for strictly defined acceptable values for an action model parameter |
Checking the value of an action model parameter to see if it matches the standard form of an email address |
Acceptable options – an input field for strictly defined acceptable values for an action model parameter |
|
Date and time |
Checking the value of an action model parameter to ensure it matches its date and time format |
|
Number |
Checks the value of an action model parameter to ensure it contains only numbers |
|
URL |
Checks the value of an action model parameter against its uniform resource identifier |
|
Line |
Checks the value of an action model parameter against its string |
Acceptable options – an input field for strictly defined acceptable values for an action model parameter |
File name |
Checks that a file is passed as the value of the action model parameter |
|
Bank card number |
Checks the value of the action model parameter to ensure that it corresponds to the standard form of a bank card number |
Acceptable options – an input field for strictly defined acceptable values for an action model parameter |
String of hexadecimal digits |
Checks the value of an action model parameter against its string of hexadecimal digits |
Acceptable options – an input field for strictly defined acceptable values for an action model parameter |
Structure |
Checks that a structure (json, xml, query) is passed as the value of the action model parameter |
|
Token |
Checks that a token with the specified length is passed as the value of the action model parameter |
|
GUID |
Verifies that a statistically unique 128-bit identifier is passed as the action model parameter value |
Acceptable options – an input field for strictly defined acceptable values for an action model parameter |
Universal text model |
Checks that a generic text model is passed as the value of the action model parameter. A generic model cannot be created manually (Can only be created automatically) |
|
Expectation of length |
Checks that the average (weighted by the probabilities of possible values) value of a random variable is passed as the value of the action model parameter |
|
Univariate Gaussian distribution |
Checks that the action model parameter value is passed a value that falls within the specified model |
Model in JSON format |
Multivariate Gaussian distribution |
Checks that the action model parameter value is passed a value that falls within the specified model |
Model in JSON format |
Status is a field for selecting one of three options: success, validation error, logic error.
Save the action to the database if it is found in the transaction - a binary field that can take the values “Yes” or “No” (“
” or “
” respectively). This field is responsible for saving the action to the database if it is found in the transaction.Requires response parsing - a binary field that can take the values “Yes” or “No” (“
” or
“
“ respectively). If the action uses a success condition, this field must be included.
Save – saves the changes made.
Cancel – cancels the changes made.
After saving the changes, the action will appear on the Business Actions tab with the specified name. You can edit its conditions by clicking on the “Add rule” field (if there are already conditions for the action, to edit the conditions you need to click on the “
” icon on the left side of the “Conditions” field), which will open the condition designer, in which you can add conditions by clicking on “Add condition” (see Figure 154).

Figure 154 – Adding conditions
In the window that opens, you need to set one of three values for the “Condition Class” field:
regular expression – checking whether a value in a given branch of the parse tree matches a regular expression;
exact value - checking whether the value in a given branch of the parse tree corresponds to the entered value;
presence of paths – checking the presence of a given branch of the response parsing tree.