- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 01:54 AM
Hello Team,
I have one field "last barcode scanned date" its updating the date. but not getting which script has been used to update the date on this field.
If I have to find any script on this, how to find it.
Please suggest me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 02:03 AM
Hi @vinod9 ,
You can search in sys_metadata table by applying the below filter . Please use the field name.
Please mark the response as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 02:06 AM
Hi @vinod9 ,
I trust you are doing good.
Navigate to the table where the field "last barcode scanned date" is located. For example, if it's on the Incident table, go to the Incident table.
Click on the gear icon at the top-right corner of the form and select "Configure > Dictionary".
In the Dictionary entry, find the field "last barcode scanned date" and click on it.
In the field's configuration, check the "Advanced view" and look for the "Default value" or "On change" script. This script may be updating the field with the current date.
If you don't find any script in the "Default value" or "On change" fields, check the business rules and scripts associated with the table where the field is located.
You can also use the System Audit Log to find out who modified the field recently, and then look for the script in their personal scripts or client scripts.
If you still can't find the script, you may need to do a global search in ServiceNow for keywords related to the field or the update operation.
Finally, if none of the above steps work, you can reach out to other ServiceNow developers or administrators in your organization for help or consider engaging with ServiceNow Support.
Please mark the answer correct if its helpful.
Regards,
Amit Gujarathi
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi