Servicenow developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 07:20 AM
Hi all,
Here is my question,
there are two reference fields are from the same table, Sub-account field is depends on account field,
1.Account
2.Sub-account
I need to fetch the data into these two fields from the respective table, the sub-account field is dependent on the account field. Based on the account field data the sub-account field data should be populate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 07:38 AM
Hello @BhupathiC, if you just want to filter sub-account based on select Account, then you can make sub-account dependent on Account.
right click on sub-account -> configure Dictionary -> click on Advanced view link -> mention Account field.
Regards,
Nishant

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 07:39 AM
@BhupathiC You need to write a reference qualifier on the Sub-account field, in the reference qualifier check 'account='+current.u_account;
For more information please refer https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/script/server-scripting...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 07:42 AM
Use below reference qualifier -
javascript: 'parent=' + current.variables.account
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain