Skip to main content

Rules Manager

Rules manager is a feature in the IDE that can be accessed through the View > Rules Manager option. This tool enables users to determine the behavior of objects on a form by controlling their appearance properties, the data that they store, and other properties.

A rules manager is a build that runs on a browser, and the actions that are added can be based on a specific condition or run without a condition when the time comes. To work in the background, it generates TypeScript code itself, which runs before code written on the client-side of the form.

Users without coding knowledge can easily perform coding operations through the rules manager. Users with coding knowledge can write rules without getting bogged down in code complexity. In this way, it is possible to shape objects that have been added to a form by controlling properties such as appearance properties and the data it stores.

The rules manager is a tool designed to make users' jobs easier and is especially useful for users without coding knowledge. However, users with coding knowledge can also use complex rules with ease when writing.

Use Cases

Hide Object by Flow User

Scenario

  1. The form has a field where users can save by entering their first and last name information. In addition to this field, there is a button to add the information entered by users to the HR department.
  2. This button should only be visible to a top admin of the person who started the flow. This ensures that only people with the correct privileges can transfer the recorded information to the HR department.

Hiding Object by Flow User Visual Expression

1. Flow

enter image description here

2. Rules Manager

enter image description here

3. Form Image

enter image description here

4. Image of a form that starts a flow

enter image description here

5. Supervisor Approval Form Image

enter image description here

Printing pass or fail based on Rate score

Scenario

  1. If the value entered in the Rate box is 3, "You're good"
  2. If it is 1 or 2 "You need to improve yourself"
  3. If it's 4 or 5 points, "A great achievement!"
    Set up a rule manager structure that prints.

Hiding Object by Flow User Visual Expression

Rule Manager Definitions

enter image description here A point to note here is that the txtSystemComment section can show values in both the text and value fields. This property is specific to the TextBox object. The Value and Text fields are interdependent.

Project Images

enter image description here enter image description here enter image description here

Change the appearance properties of TextBoxes based on the value selected from the ComboBox

Scenario

Rules Manager Definitions

enter image description here enter image description here

Form Views

enter image description here enter image description here enter image description here