Field & Form Rules - Use Cases

The purpose of this document is to bring out a clear understanding of field and form rules by using real time scenario. The sections that follow walk you through the step-by-step procedure of configuring the use cases, along with relevant screenshots.

List of Use Cases

Case I:  Add dependency among PickList fields

Scenario:
 

 
 

Step 1:

To handle the above use case, first we need to include fields (Country, City and Support Rep) with appropriate values in Incident Additional Fields and then add those field to any template (say, Default Template), as shown in the below image:

 

 

Step 2:

 

 

The Format for dependency object is explained in the below screenshot:

dependency-screenshot

 

Here, the dependency should contain a FIELDS array and a VALUES object, where the FIELDS array should contain the fields for which the dependency should be created and where the (i)th element in the array should be depended on (i-1)th element, and so on..  

Example: The City field options depend on value of Country and the Support Rep field options depend on value of the City field.

 

The VALUES object should contain field values, as shown in the below image. (NOTE: All the field labels and values are case sensitive)

 

TOP

Case II : On Form Load Event example

 

a) Applicable to requester and executes on request creation:

Scenario:

Steps:

 

 

 

b) Applicable to technician and executes on editing request:

Scenario:

Mandate Subcategory, if the category is any of Network, or Operating System, or Services, or Software, or Telephone. or User Administration.

Steps:

 

TOP

Case III : On Field Change Event example

 

a) Applicable to All Users and On Create/Edit as Execution Operations:

 

Scenario:

On change of Impact field, mandate the Impact Details Field.

Steps:

 

 

b) Applicable to Technicians and On Create/Edit as Execution Operation:

 

Scenario:

If Level selected is Tier 4, mandate the Priority and Impact fields.

Steps:

 

TOP

Case IV : On Form Submit Event example

 
 

Scenario:

Steps: