Filter condition is not showing properly

S_Deekshitha
Tera Contributor

 

module_filter.png
In mention screenshot, filter condition for the module which has a condition "assignment group is dynamic to one of my group", when filter condition is executed it showing the has below mentioned image

 

Filter.png

Any help is appreciable

Thanks in advance

 

Thanks,

Deek**bleep**ha

 

4 REPLIES 4

Danish Bhairag2
Tera Sage
Tera Sage

Hi @S_Deekshitha ,

 

Is the output coming properly?

 

Thanks,

Danish

 

 Hi @Danish Bhairag2 

yes , the output is coming properly.

Hi @S_Deekshitha ,

 

I tried in my PDI I am getting below result. You can cross check in the module which u created as in your 2nd screenshot I cannot see the is(dynamic) operator.

Also One of My groups will return is the sys id's in array. just check the operator once.

DanishBhairag2_0-1698419945326.png

 

Thanks,

Danish

 

Namrata Ghorpad
Mega Sage
Mega Sage

Hi @S_Deekshitha ,

getMyGroups is the OOB script provided by ServiceNow to get the logged in user's group sys_id's.

 

Please refer the below links.

https://www.servicenow.com/community/developer-forum/getmygroups-function-is-returning-any-parent-gr... 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0681349 

 

Please mark my answer as correct and helpful if it helps you.

Regards,

Namrata