Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2023 10:22 AM
Hi,
Yes, you can query it any number of ways, just ensure that you're also filtering it for records that are related to the parent record involved in all this. So adding to the above:
var gr = new GlideRecord('sc_task');
gr.addQuery('request_item', 'request_item_value_here');
gr.addQuery('short_description', 'Exact Short Description Here');
gr.query();
if (gr.next()) {
return gr.assigned_to;
}
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!