Able to submit without filling Mandatory field (Journal field) in Geneva Release

knpandian
Kilo Explorer

Hi All

Recently we are facing some issue where we can save the form without filling mandatory field (work notes - Journal field) in Geneva .

In our case,we are encountering this issue in Task level where we are using work notes from Parent form.

Has anybody encountered such a scenario before? Could someone please help me in understanding the root cause?

Thanks

10 REPLIES 10

Can you share the client script and UI policy you created? Screenshots should suffice.



An onSubmit client script doesn't sound like the right answer because it won't make the field mandatory until after the user clicks Save/Update/Insert, etc. Normally you want the user to SEE the field is mandatory. An onLoad (or onChange if it depends on another field) is appropriate.



WHEN would you like the field to be mandatory?... is a better question. Help me understand the underlying business requirement so we can come up with the proper solution. Thanks.


Sorry..it is not OnSubmit ..it OnChange ..



Requirements:


Work notes should become mandatory when we change the state to "close


complete" .



Will be sending the screenshot shortly


On 4 Jul 2016 7:54 p.m., "ctomasi" <community-no-reply@servicenow.com>


FYI - I created a UI policy (see image below) on the incident table. The condition is: Priority | is | 1 - Critical. The actions related list sets the work notes to mandatory.



find_real_file.png


When I go to a P1 incident and try to save w/o work notes, I get the following message.



find_real_file.png



It works. I just need to see what you are doing (and understand what the business objective is) so we can sync up.


For your information,we facing this isssue only in problem task,It is working perfectly in other area.



This is client script we are using currently.


Capture.JPG


I think, you can't use dot walking in client script.