- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 09:21 AM
In Incident table Based on the departement i need to auto populate the field value Project ID need to be auto populated like
departerment Project id
IT 1052
support 6578
Sales. 9874
Marketting 2568
Finance 8536
How to achieve this in ServiceNow developer instance... Please suggest
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 11:37 AM
Please let me know once check from your end and Please mark as correct.
Regards,
Sandeep Kumar M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 12:09 PM
Even after writing the script when i select it, project id is not auto populating can you please see the screen shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 12:13 PM
- Hi Vikram,
Please check the condition for setting the value in script it should be g_form.set value as you have mentioned get value() please change and try it
Regards,
Sandeep Kumar M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 10:04 AM
Hi Vikram,
Please create on change client script and client callable script include.
Regards,
Sandeep Kumar M
Please mark as correct answer if this worked for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 10:19 AM
Can you please help me the steps how to add... I am newly learning servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 11:32 AM
Hi Vikram,
Please follow the script as per the image as I have added only one field and you can add remaining ones.
Regards,
Sandeep Kumar M
Please mark as correct answer if this worked for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 11:35 AM
Thanks for the script, I will check and let you know if it's working...