how to identify if a field has ui policy or business rule etc. ??

sridharan
Giga Contributor

I am unable to find Web Services check box in a Business Rule form, however it can be seen in Form Layout list.

I feel like if it has any business rule or ui policy to appear in certain condition !!

Can someone let me know how to identify if a field has ui policy or business rule or any otherconditions   ??

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Just because a field is on the table, but not on the form doesn't mean there is something wrong. It may not be on the form at all.


Start by looking to see if the field is even placed on the form (use Configure> Form Design to check.)



If it is on the form and not being displayed (or you see it quickly and then it gets hidden) it is likely either a UI policy or client script. You'll have to do some manual inspection for that.



If it's on the form and then gets hidden after you do something, it's definitely a UI policy or client script and you can use the field watcher to get more info.


http://wiki.servicenow.com/index.php?title=Field_Watcher


View solution in original post

6 REPLIES 6

Chuck Tomasi
Tera Patron

Just because a field is on the table, but not on the form doesn't mean there is something wrong. It may not be on the form at all.


Start by looking to see if the field is even placed on the form (use Configure> Form Design to check.)



If it is on the form and not being displayed (or you see it quickly and then it gets hidden) it is likely either a UI policy or client script. You'll have to do some manual inspection for that.



If it's on the form and then gets hidden after you do something, it's definitely a UI policy or client script and you can use the field watcher to get more info.


http://wiki.servicenow.com/index.php?title=Field_Watcher


I was just looking at my BRs on my Helsinki instance and noticed the field is their briefly then hidden.



It appears to be hidden by this client script:


Hide Web Services if Property False



Which is setting a variable from this display BR:


Scratchpad for Web Services Property



Which is looking at this property;


com.glide.business_rule.outbound_rest



for a value of 'true'.



So, if the value for that property is true, the web services field appears.


http://wiki.servicenow.com/index.php?title=Adding_a_Property


If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you


I could see the field when I navigated to Form Design and selected Default checkbox in Web Services field settings.



Thanks Chuck