Read this article to learn what functions are available when creating your business and form rules and how you can use them. The description includes 15 brand-new functions introduced in WEBCON BPS 2021.
In this example, the new functions will be used in business rules. However, you can use the same functions in your form rules. What is more, some functions can be used only in form rules; they are presented at the end of this article. You can also create custom rules by using the SQL COMMAND function or by creating a Plugin business rule.
In WEBCON BPS 2021, the form rules have been enhanced with new functions operating on text such as: CONCAT - combines two or more text strings into one text, SPLIT - splits the provided text into parts, according to a specified separator. The function returns strings separated by the semicolons ‘;’ (default separator). If no separator is found in the provided text, the function will result in one line of text, and INDEX OF – searches the provided text and returns the position where the specified string first occurs. Searching will start from the indicated position; the position of the first character is 1.
This article presents the configuration and operation of the above-mentioned functions on the form created for this purpose.
Nesting business rules in the form rules allow you to refer to data contained in Active Directory or external data sources. This extends the functionality of form rules and allows you to use data outside the form when defining the process logic. By using the business rules, you can create a condition that defines a certain group of users for which the form rule should be executed. By using the function in the “Users” section, you can enter a list of users or groups from Active Directory or defined BPS groups.
WEBCON BPS allows you to specify substitutions for users, which may be defined:
1) Globally – substituting person may perform the substituted person's tasks in all processes with the substitution option turned on.
2) Per process – substitution(s) can be defined per process. It is possible to indicate few substitutes for one user depending on the process in which they have tasks to perform.
The substitute is given a task in the form of substitution for the workflow instances with the active tasks and a possibility to modify them. Permissions are not being substituted. If the user has permissions to modify an instance but they do not have any tasks there, the system will not provide analogical permissions for the substitute.
Substitutions for the historic tasks (tasks already active at the moment of substitution start) are created by the workflow service according to schedule. For new tasks, substitution is created at the moment of assignment.
Starting with BPS version 2019, you can define substitutions on your Portal.