Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Business rule on Database view

uma17
Tera Guru

Hi All,

How does   database view record insertion work, is it same like any other table?

When I try to delete the record inn database view, it says like the table view is already empty.

I have written an before insert or update business rule on database view but its not getting triggered.

Thanks

Uma

5 REPLIES 5

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

Hi Uma,



A database view in ServiceNow is not a real table, so you can't insert/update/delete records from there. A database view is like a predefined query based on other tables, so it doesn't have its own table.



More here:



Database Views - ServiceNow Wiki



Regards,
Sergiu


Thank you Sergiu


Chandresh
Tera Guru

Hi Uma,



Please check below snapshot.


find_real_file.png



Also, you will get the same info in below link


http://wiki.servicenow.com/index.php?title=Business_Rules#gsc.tab=0



Hit Like/Helpful/Correct if this helps


Thank you Chandresh