how to get the value from sysid in business rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2016 11:55 PM
Hi Team,
how to get the value from sysid in business rules.
Thanks,
Chandra
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2016 12:24 AM
Hi,
could you please explain your question a bit more detailed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2016 12:43 AM
Hi
How to get the sysid value by using business rules.
Thanks.
Chandra
On Sat, Nov 12, 2016 at 1:54 PM, scrumniashka <

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2016 12:47 AM
Hi Chandra,
Can you please send your script?
Please check the below thread.
Thanks,
Harshvardhan
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2016 12:58 AM
Hi Harsha,
Please find below script.
function onBefore(current, previous) {
//This function will be automatically called when this rule is processed.
var parentRecord = g_form.getReference('parent');
var gr = new GlideRecord('metric_instance');
gr.addQuery(String, Object, Object)('assignment_group');
gs.addInfoMessage(gr.getValue('assignment_group'));
/*gr.query();
while (gr.next()) {
gs.addInfoMessage(gr.number);getValue(String)
Thanks,
Chandra
On Sat, Nov 12, 2016 at 2:17 PM, harshvardhansingh <