Ritm visibility using assignment group and parent group

jobin1
Tera Expert

Hi All

Need to get the below 3 values in Query BR how it can be achieve?

1. How we can get the current logged in user assignment group and its parent group in query BR?

2.How all Ritm group and its parent group can be get from Query BR.

3. If 1 and 2 are same(both condition returns same value) then those Ritms should only visible to logged in user

1 ACCEPTED SOLUTION

(function executeRule(current, previous /*null when async*/ ) {
    var childIds = "";
    var groups = new global.ArrayUtil().convertArray(gs.getUser().getMyGroups());
    groups = groups.toString();    
	current.addEncodedQuery("assignment_group.parentIN"+groups+"^ORassignment_groupIN"+groups);
})(current, previous);

View solution in original post

25 REPLIES 25

 

 

find_real_file.png

 

 

 

All requested items

find_real_file.png

 

when child A group member impersnated->Working fine all "child a tickets are showing.

find_real_file.png

 

 

 

When A group parent impersonating->not working .

A child tickets are not available.

find_real_file.png

Hi Jobin,

I think you are trying in your PDI,

Can we connect Gmeet over here: manichintalapudi9@gmail.com

 

Thanks,

Murthy

Thanks,
Murthy

@Murthy Chintalapudi sure will it allow from my laptop? what the link?

 

can u check ur mail link came?

@Murthy Chintalapudi 

Just pasting u again the entire requirement, May be child B is new for you that also need to consider 

find_real_file.png