How to Access form section field of record using business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 02:38 AM
How to Access form section field of record using business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 02:43 AM
Can you elaborate on what you need to do.
Its not very clear what you are asking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 03:18 AM
Hi Anurag,
I have a table in which when we open any particular record, we have form section it is a reference field, now i want to glide that form section field.
How we can achieve it.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 03:55 AM
Hi,
Something like this
(function executeRule(current, previous /*null when async*/ ) {
var fc= new GlideRecord('<table name>'); // this is the table yoru form section field points to
fc.addQuery('sys_id', current.<Form section field name>);
fc.query();
if (fc.next()) {
//Do whatever
}
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 05:16 AM
No It is not working.
You mean we should glide the form sction field which is pointing to?