# Identity Attributes Changed Event Triggers

**URL:** <https://developer.sailpoint.com/discuss/t/identity-attributes-changed-event-triggers/5169>\
**Category:** SHF Discussion and Questions\
**Created:** [July 29, 2022, 2:29am UTC](https://developer.sailpoint.com/discuss/t/identity-attributes-changed-event-triggers/5169 "2022-07-29T02:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkumar22](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@pkumar22](https://developer.sailpoint.com/discuss/u/pkumar22)\
**Post date:** [July 29, 2022, 2:29am UTC](https://developer.sailpoint.com/discuss/t/identity-attributes-changed-event-triggers/5169/1 "2022-07-29T02:29:56Z")

</div>

Hi,

We have created Identity Attributes Changed Event Triggers and added the below filter.  
$.changes[?(@.attribute==“postalCode”)]

But it triggers other attributes, patientCareLevel, and description, which are not part of the filer. So is there any way that it should trigger only filter value?

```json
{
  "_metadata": {
    "invocationId": "37b95c4c-75d2-42b4-840c-c5ca58e64316",
    "triggerId": "idn:identity-attributes-changed",
    "triggerType": "fireAndForget"
  },
  "changes": [
    {
      "attribute": "postalCode",
      "newValue": "80036",
      "oldValue": "75036"
    },
    {
      "attribute": "description",
      "newValue": "",
      "oldValue": null
    },
    {
      "attribute": "patientCareLevel",
      "newValue": "CC",
      "oldValue": "MD"
    }
  ],
  "identity": {
    "id": "2c91808581fdab25018212c87ec541c2",
    "name": "7777777",
    "type": "IDENTITY"
  }
}

```

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [July 29, 2022, 1:15pm UTC](https://developer.sailpoint.com/discuss/t/identity-attributes-changed-event-triggers/5169/2 "2022-07-29T13:15:09Z")

</div>

Hi Prasantha,

This filter will trigger anytime the `changes` list includes an attribute called “postalCode”, even if there are other changed attributes in the list. Trigger filters don’t remove any data from the event, they just dictate when an event should be sent. The event will always be sent with everything that changed, even if you don’t need all of that data. Based on the example input you shared, this is the correct behavior.

---

<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:** [July 19, 2023, 2:23pm UTC](https://developer.sailpoint.com/discuss/t/identity-attributes-changed-event-triggers/5169/3 "2023-07-19T14:23:22Z")

</div>


