Formula
  • 18 Jun 2024
  • 2 Minutes to read
  • PDF

Formula

  • PDF

Article summary

A formula is a mathematical expression, or an equation used to make calculations. 

The Application Designer can configure the formula widget in the form designer to configure various formulas that can be used to make calculations such as Service Level Agreements (SLAs), managing workflows, etc. 

To Formula widget under Design Form is displayed.  
Figure: Formula

User Persona: Application Designer

Let's explore the following use-case.



Use Case
User Persona: Application Designer
Solution
ACME wants to configure different SLAs for different priorities of tickets, calculate costs for different materials and add multiple other calculations. They want to add a customized formula for calculating the SLAs.

To achieve this, the administrator can drag and drop the Formula widget to the Form Designer canvas and configure the widget.
The administrator can mention the customized formulas as per the organizational needs.

Configure Formula widget!

To configure the formula widget, perform the following steps:

  1. Navigate to Design Studio > Module. Click Form Designer and select the form to be configured.
  2. On the General Tab, enter all mandatory details required for the Form.
  3.  Under the Design Form tab, select Widgets > Formula.
  4. Drag and drop this widget inside a panel to create a Formula field. Click Settings to configure Formula.
    The Formula widget page is displayed:

Figure: Formula settings

On the settings page, the following tabs can be configured.

Properties

The list of Properties using which the Application Designer can configure the respective widget's label, and subtitles, which are mentioned.

To know more about the fields that are available under the Properties section, see Field Description.

Figure: Properties

Field Description

This table contains the list of fields and their descriptions that are available under the Properties section: 

Field Description 
General

Label

Specify the name for the formula widget. 

Subtitle

Specifies the text which you want to display just beneath the Title. You may use it to describe the purpose of the control or the way it should be used.

Precision

Specifics the decimal point precision for the formula output. You might specify the precision of the decimal point from negative or positive. 

Informative
Help TextProvide a help text that gives the user an idea of the required format in a way to prevent input errors. It can be keywords to search the formula field.

Rich Text

Select it to enable the text as rich text and interpret as rich text. It allows the administrator to make the text in bold, italicized, etc. 

Figure: Rich Text

Tooltip

The tooltip is displayed when the user hovers the mouse cursor over the object/field/control.

Advance

The formula can be built in the Advance tab. Using the Advance Tab the Application Designer can enter the formula required for calculation. 

To know more about the fields that are available under the Advance section, see Field Description.
Figure: Advance

Field Description

This table contains the list of fields and their descriptions that are available under the Advance section: 

Field Description 
General

Build the formula here

Mention the formula in the text area. Type $ to view all available Numeric fields and functions. 

Figure: Functions

Validate

After entering the required formula, click Validate to check the syntax of the formula. 

Appearance

The list of Appearance setups using which the Application Designer can configure the appearance of the formula widget which are mentioned.

To know more about the fields available under the Appearance section, see Field Description. 

Figure: Appearance

Field Description

This table contains the list of fields and their descriptions that are available under the Appearance section:

FieldDescription
Text

Label Layout

Select the layout of the formula field, such as float, horizontal, or vertical. 

Upload Icon

You may choose to upload a specific icon or image for the formula field. 

If you wish to delete the uploaded image, hover over the image and click the delete icon. 

Icon Position 

Select left or right to place the icon for the formula field. 

 


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.