How setForceUpdate method works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 03:11 AM
Hi,
I have gone through setForceUpdate method in product documentation and I saw that it is used to update records even if the field value does not change.
So, when using this method, does any field value changes or how we can know that particular record has been updated?
Regards,
Afsar
- 5,875 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 03:15 AM
‘setForceUpdate’ is used to update records without having to change a value on that record to get the update to execute. ‘setForceUpdate’ is particularly useful in situations where you need to force the recalculation of a calculated field for all records in a table or when you need to run business rules against all records in a table but don’t want to have to change a value on the records.
mark helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 02:28 AM
The following fields will have been updated:
sys_mod_count
sys_updated_by
sys_updated_on