
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 04:19 AM
The requirement is like
1. There are four columns available on editable row of the embedded list
2. The first column is a drop down and If I select first column value, immediately second column (text box) and third column(which is also a drop down column) of same editable row should be mandatory to fill.
3. All this should be checked on the given state/phase of the form record.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 04:36 AM
Hi Ruturaj
You will be able to do this via a data policy on the table of the embedded list - you will however not be able to see the mandatory fields visually in the embedded list it self, as UI policies are not evaluated in list views - you will however get a Data Policy Exception when saving the form, if the mandatory fields have not been filled out.
So it is not so user friendly.
The data policy it self, can include values from the parent record in its condition to determine when the fields should be mandatory.
Here is an example where I have created a simple table which has a reference to the incident table, and one of the fields are mandatory, based on a condition which looks at both the parent incident, and the embedded table it self.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 04:30 AM
Hi Rutaraj,
This level of control is not available from an embedded list. You MIGHT be able to use a data policy to enforce the mandatory fields when the record is saved.
http://wiki.servicenow.com/index.php?title=Data_Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2016 04:36 AM
Hi Ruturaj
You will be able to do this via a data policy on the table of the embedded list - you will however not be able to see the mandatory fields visually in the embedded list it self, as UI policies are not evaluated in list views - you will however get a Data Policy Exception when saving the form, if the mandatory fields have not been filled out.
So it is not so user friendly.
The data policy it self, can include values from the parent record in its condition to determine when the fields should be mandatory.
Here is an example where I have created a simple table which has a reference to the incident table, and one of the fields are mandatory, based on a condition which looks at both the parent incident, and the embedded table it self.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2016 04:33 AM