Models are used to display content in the layout
Typically used for record creation or editing, as well as various types of messaging
A Model needs to be added when you perform any action in an event
There are 2 types of Model
Single Record Model:
The single record model is generally used when only a single record needs to be displayed at a time
MultiRecord Model:
The multi-record model is used when multiple records need to be displayed at a time
Model Creation
Create a MultiRecord model
Go to the Model tab
Click on the + icon
Enter information, click Save
Click Details tab
Label: Label is used to identify the model at the UI
Name: Name is the unique identifier of the instance
Type: From the dropdown, select the type i.e. Record, API, Aggregate, and Item
Record Count: From the dropdown, select the record type i.e Singlerecord and Multirecord
Is Shared?:
Object Def: From the dropdown, select the object that you want to bind the model to
Offset:
Limit: How many records do you want to display at a time
Order By:
Click on the + icon
Fill in the information, click Save
Field name: Select the field name from the dropdown
Sort As: From the dropdown, select the option Ascending or Descending
Click Fields tab
Select the field. These fields are added to the selected fields
These selected fields are added to the model
Click the UI Fields tab
Click New button
Enter Label & Name, click on the Config icon
Enter information, click Save
Field Source: Select the field source from the dropdown
Field:
Variable:
Model:
Static:
Cookie:
LocalStorage:
QueryParam:
User:
Merge Field Expression:
Message Body:
Return to the layout page
Model Addition
Select a Multi Record Model
In the basic config, Click + icon
Add the Model and click Save
For a single record model, the same procedure is used
Context Models
A Context model is created by using a multi-record model
It acts as a single record model
Models Creation
Click on the + icon
Create Models and click Save
Criteria
Criteria determine the conditions under which the criteria apply
When the given criteria in the form are completed, then the criteria are fired
Using source types, you can add criteria in the form
Source Type
On which destination do you won't compare your criteria
There are multiple source types available
Static:
Input:
Variable:
Click + icon
Create Variable, click Save
Cookie:
Context:
Create Criteria
Click on the + icon
Add Criteria, click Save