The CreatorCon Call for Content is officially open! Get started here.

How to not update if there is no change in previous record

Akki1
Tera Contributor

Hi,

I'm running a scheduled job which truggers  scripted rest api which gets data from 3rd party and create/updates in servicnow custom table. Now I want the records to only update when there is a change in any field value else remain same i.e the updated timestamp should not be updated

1 REPLY 1

Mark Manders
Mega Patron

Please share more information than the above. What's the script? What is updated? Why is the 'updated' field updated when there isn't an update?

 

Without anything more than the information you provided, it is impossible to give you a clear solution to the issue. 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark