Meaning of update number in history

duttaabhishek
Kilo Explorer

Hi Developers,

Can any help me to understand the meaning of update number in history.if we open any item under Business service if we go the history and select Line, i can see some updates and has value -1 in the update number field,can any body help me to understand this.Screenshot has been attached for the reference.

Thanks in advance.

Regards,

Abhishek

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

Update number is



Update NumberThe number of times this field has been changed.

I guess -1 would mean the record was created with that field


-Anurag

ginesdoleratorm
ServiceNow Employee
ServiceNow Employee

Hi Abhishake,



The update number counts the number of times a record has been updated. In the history, the entries are stored together with the update number where the field was modified.


When a record is created, the update number is 0.


So, lets say, for example, I have an incident record with update number 6 (that is, the record has been updated 6 times), I modify the Category field, and submit the record. Then, the history entry for this modification will have the update number 7. This represents that the field Category was modified in the update number 7 of the record.



There is an exception, what is what you are seeing. The update number -1 is given to the "relation" history type. This type is used for audit that a record used to be related to another one, but this relationship no longer exist. For example, if I have an Approver linked to a Change request, and I delete that relationship (getting rid of of the entry from the related list in the change request record), an entry with the update number -1 is created to audit that this relationship existed in the past.



Hope it helps,


Ginés.


Does adding a log note or changing customer contact number constitute an update?

duttaabhishek
Kilo Explorer

Thanks alot for the explanation