Workgroup Details

Which IIQ version are you inquiring about?

Version 8.3

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

Could you please provide a complete rule code which takes workgroup names passing through the filter condition as the input and return Workgroup Details like Name, Owner, Description, Group Email, Capabilities, Members, Scope, Notification Setting, Authorized Scopes as the output

We need the feeling that you try to write this rule yourself then we can help you. Read the dokcumentation, watch the Videos and try to code it yourself step by step. At which part of IIQ you want to use this Rule?

What I can suggest to you is the following

String groupName = "yourWorkgroupName";
Identity workgroup = context.getObjectByName(Identity.class,groupName);

this part will give you a single workgroup object which you can then explore following
http://javadoc.jakubiak.pro

for Identity object.

If you want to query for workgroups using filters you can do following

QueryOptions qo = new QueryOptions();
Filter f1 = Filter.eq("name",workgroupName1);
Filter f2 = Filter.eq("name",workgroupName2);

qo.or(f1,f2);

List workgroups = context.getObjects(Identity.class,qo);

and you can iterate over this list and get all the data from each object yourself.

Few important remarks

  1. Using context.getObjects() you read all objects to memory which for big sets of objects might be suboptimal
  2. For big lists - better to use context.search() - as it only returns iterator not the full object.

More you can find in JavaDoc linked above for SailPointContext class. Hope I helped a bit :slight_smile: in case you have any doubts please let me know.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.