# Create Campaign Filter For SAP Source Only For Active Accounts

**URL:** <https://developer.sailpoint.com/discuss/t/create-campaign-filter-for-sap-source-only-for-active-accounts/146433>\
**Category:** SHF Discussion and Questions\
**Tags:** certifications, sailpoint-identity-security\
**Created:** [June 20, 2025, 2:21pm UTC](https://developer.sailpoint.com/discuss/t/create-campaign-filter-for-sap-source-only-for-active-accounts/146433 "2025-06-20T14:21:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![imagavis](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@imagavis](https://developer.sailpoint.com/discuss/u/imagavis)\
**Post date:** [June 20, 2025, 2:21pm UTC](https://developer.sailpoint.com/discuss/t/create-campaign-filter-for-sap-source-only-for-active-accounts/146433/1 "2025-06-20T14:21:11Z")

</div>

Trying to create campaign filter for SAP source - [Account Attributes](https://documentation.sailpoint.com/connectors/sap/direct/help/integrating_sap_direct_source/account_attributes.html)

Trying to use IIQDisabled as false as the filter to ensure only active accounts are included in the camapign but the IIQDisabled is not shown in the campaign filter dropdown. Please assist.

---

<div class="post-metadata">

**Author:** ![SanjeevIAM](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sanjeeviam/32/21695_2.png) [@SanjeevIAM](https://developer.sailpoint.com/discuss/u/SanjeevIAM)\
**Post date:** [June 20, 2025, 3:00pm UTC](https://developer.sailpoint.com/discuss/t/create-campaign-filter-for-sap-source-only-for-active-accounts/146433/2 "2025-06-20T15:00:52Z")

</div>

You will have to add the IIQDisabled in your schema before you can use it for campaign filter. Even though some connectors populate this attribute internally it is only available for filter if it is in the source schema.

---

<div class="post-metadata">

**Author:** ![imagavis](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@imagavis](https://developer.sailpoint.com/discuss/u/imagavis)\
**Post date:** [June 20, 2025, 5:11pm UTC](https://developer.sailpoint.com/discuss/t/create-campaign-filter-for-sap-source-only-for-active-accounts/146433/3 "2025-06-20T17:11:43Z")

</div>

Thanks Sanjeev! I tried adding as well but post recon the attribute gets automatically removed from account schema.

Looks like IIQdisabled as empty string check helps to pull active accounts in the campaign. I was trying to equate it to false to only include active accounts and that didn’t work.

```auto
{
    "name": "SAP UAR Campaign Filter",
    "description": "SAP UAR Campaign Filter",
    "owner": "IdentityNow Admin",
    "mode": "INCLUSION",
    "criteriaList": [
        {
            "type": "COMPOSITE",
            "property": null,
            "value": null,
            "operation": "AND",
            "negateResult": false,
            "shortCircuit": false,
            "recordChildMatches": false,
            "id": null,
            "suppressMatchedItems": false,
            "children": [
                {
                    "type": "ACCOUNT",
                    "property": "attribute.IIQDisabled",
                    "value": "",
                    "operation": "EQUALS",
                    "negateResult": false,
                    "shortCircuit": false,
                    "recordChildMatches": false,
                    "id": null,
                    "suppressMatchedItems": false,
                    "children": null
                },
                {
                    "type": "SOURCE",
                    "property": "application",
                    "value": "SAP",
                    "operation": "EQUALS",
                    "negateResult": false,
                    "shortCircuit": false,
                    "recordChildMatches": false,
                    "id": null,
                    "suppressMatchedItems": false,
                    "children": null
                }
            ]
        }
    ],
    "isSystemFilter": false
}

```

---

<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:** [August 19, 2025, 5:12pm UTC](https://developer.sailpoint.com/discuss/t/create-campaign-filter-for-sap-source-only-for-active-accounts/146433/4 "2025-08-19T17:12:43Z")

</div>

Closed on August 19, 2025, 5:12pm UTC

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