- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 05:52 AM
Hi,
Recently I created A 'NEW' UI action on 'Product Model' Related Banner List. After clicking 'NEW', I am able to create new product model. After submitting the form I want Model Number Field to be auto populated with sys_id of the record. I want sys_id to be also shown on related list of Model Categories.
Model Number Field should be populate as: "Sysid:<32 digit sys_id>"
Please refer attachment for better clarity.
Thanks:
Pratiyush
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 06:12 AM
@gagan12 Create a before insert business rule and add below line to script
current.<MODEL NUMBER FIELD NAME> = "Sys Id: "+current.sys_id.toString();
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 06:12 AM
@gagan12 Create a before insert business rule and add below line to script
current.<MODEL NUMBER FIELD NAME> = "Sys Id: "+current.sys_id.toString();
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023