Forum Discussion
marting
4 years agoNeophyte
On 6/23/2021 at 6:50 AM, Stuart Weenig said:I'm curious what your expression was before and what you changed it to.
The property and the AppliesTo function basically did the same exact thing but using the property didn't work right; maybe if I waited long enough, the group memberships would have been resolved but I'm not sure.
Basically, using these to group together resources from many sub-groups in one group.
The property:
- Applies To: join(system.staticgroups,",") =~ "/GroupName/"
- println "team=GroupName"
- Dynamic group query: auto.team == "GroupName"
The AppliesTo function:
- Name: teamIsGroupName
- AppliesTo Code: join(system.staticgroups,",") =~ "/GroupName/"
- Dynamic group query: teamIsGroupName()