. How we can update record without updating system generated fieldsupdate sets

Narayana RC
Tera Contributor

. How we can update record without updating system generated fields

10 REPLIES 10

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Siva,



You can use method autoSysFields which Enables or disables the update to the fields sys_updated_by, sys_updated_on, sys_mod_count, sys_created_by, and sys_created_on. This is often used for manually updating field values on a record while leaving historical information unchanged.


https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&id=r_GlideRecord-autoSysFields_Boolean


inc.setWorkflow(false);     // Do not run any other business rules......May i know why we kept workflows would be false...


Is there any other way to do update records....


Can you provide some additional details on what you are trying to accomplish?