Set Created Date after commit update set on Records to current date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 03:18 PM
Dear Colleagues,
I have an issue, when I commit an Update set on Production, then the created date of the commited recordsis not set to the current date but to the old date as it was created on dev instance.
Is there a smart way (except writing a business rule on the update set table to replace the payload or something) to set it? Maybe a property or something?
Please let your thoughts here, also when you think it does not make sense at all or how you would tackle the problem.
Best Reagards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 06:25 PM
Hello @MAX17
There is no such property to set the record creation timestamp to update set committed date time. As moving an update set is nothing but importing the XML payload, system will just process the payload to create/update record in the target instance.
And moreover having a different timestamp for the same record in each instance is not a good idea. It will cause inconsistency and confusion to the Developers when they need to do some debugging.
I suggest to keep this one as it is, do not customize which will not provide any meaningful value rather it will cause confusion.
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh