How to run population in a rule

Which IIQ version are you inquiring about?

8.2p1

Please share any images or screenshots, if relevant.

[Please insert images here, otherwise delete this section]

Please share any other relevant files that may be required (for example, logs).

[Please insert files here, otherwise delete this section]

Share all details about your problem, including any error messages you may have received.

I need to run a rule in loop for a population for distribution list. Can you please help me on this as how can i achieve this?

Regards
Amit

Hi @ayadav_12 - you can try:

	  GroupDefinition pop =context.getObjectByName(GroupDefinition.class,"POP Name");
	  Filter filter = pop.getFilter();
	  QueryOptions qo = new QueryOptions();
	  qo.addFilter(filter);
	  List IdentityList = context.getObjects(Identity.class, qo);
	  ```
Then you can loop through the list.