Getting the value of assignment group in a script include

RonAlmog
Tera Contributor

Hello,

I need to write a script include filtering some options for a field in my Change Request table.

I need it to only run if the assignment group field contains a certain value.

When I looked up for the assignment group via REST API Explorer, it returned the assignment group field containing "link" and "value".

How can I access only the "value" part of the response?

1 REPLY 1

Shivalika
Mega Sage

Hello @RonAlmog 

 

Just set this "sysparm_exclude_reference_link" parameter in rest api explorer as "true" 

 

And if you want display value of reference fields instead of sys_id you can mark "sysparm_display_value" as true as well. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY*