# Workgroups in report

**URL:** <https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727>\
**Category:** IIQ Discussion and Questions\
**Tags:** email-templates, identityiq\
**Created:** [November 18, 2025, 11:43am UTC](https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727 "2025-11-18T11:43:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stellamaryi](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@stellamaryi](https://developer.sailpoint.com/discuss/u/stellamaryi)\
**Post date:** [November 18, 2025, 11:43am UTC](https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727/1 "2025-11-18T11:43:38Z")

</div>

Hi Team,

we use sailpoint 8.4 IIQ. I need a sample code to include Teams’ DL as a email recipients. I have created a workgroup for that DL. Could you please share a piece of code to call that workgroup in Reports.

Now, we pass all user identities as comma seperated valus, but we would like to use as below. But below code is now working ( SupportDL is a workgroup name)

Please advise.

 SupportDL

---

<div class="post-metadata">

**Author:** ![kumarSinghM](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kumarSinghM](https://developer.sailpoint.com/discuss/u/kumarSinghM)\
**Post date:** [November 18, 2025, 11:54am UTC](https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727/2 "2025-11-18T11:54:17Z")

</div>

@stellamaryi Please provide the code that you have written.

---

<div class="post-metadata">

**Author:** ![stellamaryi](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@stellamaryi](https://developer.sailpoint.com/discuss/u/stellamaryi)\
**Post date:** [November 18, 2025, 2:10pm UTC](https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727/3 "2025-11-18T14:10:44Z")

</div>

Hi ,

please find the code written for DL

```java
<entry key="emailRecipients">
        <value>
          <List>
            <String>SupportDL</String>
          </List>
        </value>    
</entry>

```

---

<div class="post-metadata">

**Author:** ![sunny\_tsang](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sunny_tsang/32/4718_2.png) [@sunny\_tsang](https://developer.sailpoint.com/discuss/u/sunny_tsang)\
**Post date:** [November 18, 2025, 8:38pm UTC](https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727/4 "2025-11-18T20:38:41Z")

</div>

If that is your workgroup then in your report, it should be configured to _emailIdentities_ not _emailRecipients_:

```auto
<entry key="emailIdentities">
  <value>
    <List>
      <String>SupportDL</String>
    </List>
  </value>
</entry>

```

Just make sure your workgroup notification option is set to _Both_ (Note - WorkgroupNotifationOption is intentionally misspelled, it’s been like that for years now).

```auto
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Identity PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Identity name="SupportDL" workgroup="true">
  <Attributes>
    <Map>
      <entry key="displayName" value="SupportDL"/>
    </Map>
  </Attributes>
  <Owner>
    <Reference class="sailpoint.object.Identity" name="spadmin"/>
  </Owner>
  <Preferences>
    <Map>
      <entry key="workgroupNotificationOption">
        <value>
          <WorkgroupNotifationOption>Both</WorkgroupNotifationOption>
        </value>
      </entry>
    </Map>
  </Preferences>
</Identity>

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [January 17, 2026, 8:39pm UTC](https://developer.sailpoint.com/discuss/t/workgroups-in-report/188727/5 "2026-01-17T20:39:00Z")

</div>

Closed on January 17, 2026, 8:39pm UTC

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