- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:07 AM
Hi,
I am facing an issue of onchange client script, when manually update the form field the client script working properly. But when updating the record form import sets the onchange client script not working. Can you please provide solution.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:13 AM
Client scripts run in browser, they won't do anything for record updates that are made from import sets, business rules, etc. You'll need a business rule or possibly a scripted transform here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:29 AM
client script runs on front end and import set runs in background so it won't work.
to validate data you need to use onBefore transform script
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:13 AM
Client scripts run in browser, they won't do anything for record updates that are made from import sets, business rules, etc. You'll need a business rule or possibly a scripted transform here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 07:29 AM
client script runs on front end and import set runs in background so it won't work.
to validate data you need to use onBefore transform script
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader