# Jsonpath filter for trigger lifecycle state change

**URL:** <https://developer.sailpoint.com/discuss/t/jsonpath-filter-for-trigger-lifecycle-state-change/184441>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, identity-security-cloud\
**Created:** [October 6, 2025, 7:37am UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-for-trigger-lifecycle-state-change/184441 "2025-10-06T07:37:08Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![kalyan\_dev32](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kalyan_dev32/32/21870_2.png) [@kalyan\_dev32](https://developer.sailpoint.com/discuss/u/kalyan_dev32)\
**Post date:** [October 7, 2025, 11:50am UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-for-trigger-lifecycle-state-change/184441/9 "2025-10-07T11:50:59Z")

</div>

Hi @torry_salamat ,

For the **Identity Lifecycle State Changed** trigger, you can use the following JSONPath filter and tweak it as needed:

```auto

$[?(@.newLifecycleState == 'active' && (@.oldLifecycleState == 'inactive' || @.oldLifecycleState == 'preHire'))]

```

 ![Screenshot 2025-10-07 at 6.50.01 AM](https://global.discourse-cdn.com/sailpoint/original/3X/f/6/f693b7eb5f48340d71f80c67f5be0db21fb8f45a.png)

hope that helps!

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/jsonpath-filter-for-trigger-lifecycle-state-change/184441)._
