How to debug all the policies (Data policies/UI Policies) on the form submission

Betholi Vikram
Tera Contributor

On submission of a Incident form, without populating any of the fields, I click on the Submit button. I will get an error message saying caller and short description fields are mandatory. How to debug which is the data policy or UI policy that throws this error message?

So, is there a way to debug what all policies are getting triggered on submission of a form?

6 REPLIES 6

Muhammad Khan
Mega Sage
Mega Sage

Hi,

You can utilize System Diagnostics > Session Debug, see the below image for reference.

find_real_file.png

There you can find a lot of modules for debugging.

Cris P
Tera Guru

Hi there,

1. Right click the field label (in your case lets do 'Caller')

2. Click on 'Watch - caller_id':

find_real_file.png

3. The JS log and Field Watcher should show up at the bottom of your window

4. Click submit again and observe which messages come up in the 'Field Watcher'

 

That should hopefully give you an idea of what is making the field mandatory

Hi Cris, 

Thanks for your response. I selected the Watch - 'Caller' and submitted the form again as shown below. But, could not find any messages at the bottom of the screen.

find_real_file.png

If you open up your profile settings (The 'gear' icon, next to your profile):

find_real_file.png

Then here you can open the Javascript log and watcher:

find_real_file.png

 

Let me know if that works