# Using a Rule to filter records in Certification campaign create API call

**URL:** <https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436>\
**Category:** SHF Discussion and Questions\
**Created:** [August 27, 2021, 12:20pm UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436 "2021-08-27T12:20:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![manoj\_badhri\_lseg](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@manoj\_badhri\_lseg](https://developer.sailpoint.com/discuss/u/manoj_badhri_lseg)\
**Post date:** [August 27, 2021, 12:20pm UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/1 "2021-08-27T12:20:31Z")

</div>

The Certification Campaign Create Beta API contains a Parameter ‘Filter’ that can take a rule as an input. Does this mean we can request a cloud rule containing relevant business logic and attach it during the campaign creation?

---

<div class="post-metadata">

**Author:** ![cpatel](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@cpatel](https://developer.sailpoint.com/discuss/u/cpatel)\
**Post date:** [August 27, 2021, 1:25pm UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/2 "2021-08-27T13:25:30Z")

</div>

> [@manoj\_badhri\_lseg](#):
>
> mean we can request a cloud rule containing relevant business logic and attach it during the campaign creation?

Hey Manoj,  
All the available rules are listed here. [https://community.sailpoint.com/t5/IdentityNow-Wiki/IdentityNow-Rule-Guide/ta-p/76665](https://community.sailpoint.com/t5/IdentityNow-Wiki/IdentityNow-Rule-Guide/ta-p/76665) , You cannot submit anything other than those at the moment.

---

<div class="post-metadata">

**Author:** ![manoj\_badhri\_lseg](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@manoj\_badhri\_lseg](https://developer.sailpoint.com/discuss/u/manoj_badhri_lseg)\
**Post date:** [August 28, 2021, 11:49am UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/3 "2021-08-28T11:49:32Z")

</div>

Thanks Chirag for a response.

But the API documentation on Campaign Creation mentions about a Rule that can be added as a filter (check screenshot)- could you please explain how to use this ?

 ![image](https://global.discourse-cdn.com/sailpoint/original/1X/b3b70562a07e1a94245fcf78db26df3510f0005d.png)

---

<div class="post-metadata">

**Author:** ![cpatel](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@cpatel](https://developer.sailpoint.com/discuss/u/cpatel)\
**Post date:** [August 31, 2021, 6:55am UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/4 "2021-08-31T06:55:03Z")

</div>

Hey Manoj,  
The documentation gets auto derived from code AFAIK. You can ignore that “RULE” part there and use only standard filters.

---

<div class="post-metadata">

**Author:** ![chandramohan27](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@chandramohan27](https://developer.sailpoint.com/discuss/u/chandramohan27)\
**Post date:** [June 23, 2023, 9:48am UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/5 "2023-06-23T09:48:36Z")

</div>

@cpatel

Hi,

Do we have this option to create a rule through API call and use it as a filter while creating a campaign.

---

<div class="post-metadata">

**Author:** ![cpatel](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@cpatel](https://developer.sailpoint.com/discuss/u/cpatel)\
**Post date:** [June 26, 2023, 11:13am UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/6 "2023-06-26T11:13:13Z")

</div>

> [@chandramohan27](#):
>
> e have this option to create a rule through API call and use it as a filter while creating a campaign.

This is not possible in IdentityNow,using rule as filter to create campaign

---

<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 25, 2023, 11:14am UTC](https://developer.sailpoint.com/discuss/t/using-a-rule-to-filter-records-in-certification-campaign-create-api-call/1436/7 "2023-08-25T11:14:13Z")

</div>

Closed on August 25, 2023, 11:14am UTC

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