Events (Common)

  • Events are essentially the automation of invoking the component's actions.

  • Here, only onload event actions are available for this components.

image-20240822-091137.png
Event

In the image below, you can select the created workflows.

image-20240822-084758.png
Workflow

Note: You need to create a workflow for selecting from this list.

For more information about Workflow check this out.

Reference: Workflow

onload Events:

  • We have an onload event that runs when the component is loaded.

For example, when a form is loaded, you can choose fields to be prepopulated by mapping field values using input mapping at the time the form component is loaded.

Input Mapping

Whenever an event is triggered and you want to pass data to destinations such as models, variables, or components, you can use input mapping to achieve that.

After clicking on Pencil icon, user can view the screen to set Input Mapping as follows:

After clicking on + button, user can set up input mapping using Input Mapping Screen as follows:

Condition

Description

Condition

Description

Destination Type

It specifies the destination where the connector mapping is to be done.

Model

It is specifically dependent on Destination Type one chooses. If you choose another Destination Type, you will get that field label here.

Field

After choosing the second condition field, you will get this field visible in modal. If you chose Model as second condition field, this will be field and if you chose variable as second field, there will be variable.

Operator

It is specifically operator value such as Set, Equals, Greater than, Equals than.

Source Type

In this option, you can select various sources from which you want to display values.

Value

The available options will change depending on the selected source type. For example, if you choose "Static" as the source, you can provide a fixed static value.

 

Destination Type

Label Source Type Attribute

Description

Label Source Type Attribute

Description

Model

From this source, users can select a Model field to be displayed as the label name.

Variable

Here, users can select the label name from variables such as Record ID, Is Disabled, Is Read only, or Is Visible.

Input Variable

Here, users can select the input variable which they have created earlier.

Cookie key

By using the Cookie Key, the result is fetched by the value that has been added under the Cookie Key. But, have to make sure that the value that we are adding is from the Cookie Key value.

Local Storage Key

By using the Local Storage Key, the result is fetched by the value that has been added under the Local Storage Key. But, have to make sure that the value that we are adding is from the Local storage value.

Source Type

Source Type

Description

Source Type

Description

Static

Use this option to provide a fixed static value.

Field

Select the field from the chosen object in the model whose value you want to include.

Model

Choose the field from other models whose value you want to include.

Variable

Select from the variables created in the layout whose value you want to use as Source.

Output Variable

Select from the output variables created in the layout whose value you want to use as Source.

Cookie Key

Choose the available cookie key whose value you want to include from your browser.

Local Storage Key

Select the available Local Storage Key whose value you want to include from your browser.

User

You can also select fields from the current logged-in user in your organization to include in the merge.

Null

It enables assign null value to the Destination Type field we chose.

Blank

It enables assign blank value to the Destination Type field we chose.