Need help on disabling the updated by while running fix script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 10:40 AM
Hi,
I am running Fix Script whoever runs the fix script it is updating on the user name who updated the script.
I want to display it as system
Can anyone please help me how to do this ?
I know we can use "autoSysFields(false);" but it is disabling sys_updated_by, sys_updated_on, sys_mod_count, sys_created_by, and sys_created_on
for me i just want to disable sys_updated_by field it should track when it was updated. can anyone please help me how to do this ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 11:05 AM
Hi Irfan,
In that case is it not possible to use the fix script as a background script & then set Run as: System administrator for Background script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 12:12 PM
No Jaspal because we are going to move this to production instance and we do not have control in production so we need to go with fix scirpt.
Can we hardcode and manually the sys_updated_by field as system ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 01:07 PM
I dont find much difference in Fix Script & Background script other than I can save my script for future references/use in Fix script but that cannot be done via Background script.
If required you can use Schedule Job & choose the field Run As field as System Administrator. Since, you would be using schedule job it will give an option for you to execute it once, or whenever you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 04:33 PM
cant we create hard coded as shown above like
gr.sys_update_by = 'system' ???