Pass a url type field value

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 06:59 AM
Hi,
Doesnt anyone know how to get/pass the value of a url type field in a business rule?
We have a field in a task table called u_link. The user will enter say www.com in that field, and when the task is closed complete we want to copy that value into a new record using an after business rule.
var value = current.u_link returns undefined
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 07:27 AM
it should be simply this
gr.urlField = current.u_link;
what it set? any error?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 07:30 AM
any before insert/update BR is clearing that url field or having some validation?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 08:22 AM
Hi @Cirrus ,