# Jsonpath Filter Expressions

**URL:** <https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [September 14, 2023, 3:55pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636 "2023-09-14T15:55:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanaychouhan1](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tanaychouhan1](https://developer.sailpoint.com/discuss/u/tanaychouhan1)\
**Post date:** [September 14, 2023, 3:55pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/1 "2023-09-14T15:55:25Z")

</div>

Is there any documentation on JsonPath Filter expressions in workflows ?

---

<div class="post-metadata">

**Author:** ![sharvari](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sharvari](https://developer.sailpoint.com/discuss/u/sharvari)\
**Post date:** [September 14, 2023, 4:12pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/2 "2023-09-14T16:12:14Z")

</div>

This documentation might help

> **[Filtering Events | SailPoint Developer Community](https://developer.sailpoint.com/idn/docs/event-triggers/filtering-events)**
>
> Many triggers can produce a staggering amount of events if left unfiltered. Event filtering helps you solve this problem.

---

<div class="post-metadata">

**Author:** ![alexandre\_mazars](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/alexandre_mazars/32/2860_2.png) [@alexandre\_mazars](https://developer.sailpoint.com/discuss/u/alexandre_mazars)\
**Post date:** [September 15, 2023, 7:18am UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/3 "2023-09-15T07:18:35Z")

</div>

Hello,

You may also use [Triggers - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/workflows/workflow-triggers.html).  
You have JSON Sample to help you to build filters 😉

++

---

<div class="post-metadata">

**Author:** ![jewalker](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jewalker](https://developer.sailpoint.com/discuss/u/jewalker)\
**Post date:** [September 15, 2023, 2:06pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/4 "2023-09-15T14:06:56Z")

</div>

@sharvari @alexandre_mazars

Between your two answers I was able to quickly build a filter to only trigger a workflow on LCS change to term.

Thank you!!

---

<div class="post-metadata">

**Author:** ![tanaychouhan1](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tanaychouhan1](https://developer.sailpoint.com/discuss/u/tanaychouhan1)\
**Post date:** [September 15, 2023, 2:24pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/5 "2023-09-15T14:24:51Z")

</div>

That’s great. Can you provide a sample workflow ?

---

<div class="post-metadata">

**Author:** ![jewalker](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jewalker](https://developer.sailpoint.com/discuss/u/jewalker)\
**Post date:** [September 15, 2023, 2:31pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/6 "2023-09-15T14:31:16Z")

</div>

This is what I have now.

$.changes[?(@.attribute == “cloudLifecycleState” && @.newValue == “inactive”)]

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

---

<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:** [October 12, 2023, 2:01pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/7 "2023-10-12T14:01:59Z")

</div>

Split this topic on October 12, 2023, 2:01pm UTC

2 posts were split to a new topic: [Filter Provisioning Completed trigger in Workflows](https://developer.sailpoint.com/discuss/t/filter-provisioning-completed-trigger-in-workflows/19075)

---

<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:** [December 11, 2023, 2:02pm UTC](https://developer.sailpoint.com/discuss/t/jsonpath-filter-expressions/17636/8 "2023-12-11T14:02:22Z")

</div>

Closed on December 11, 2023, 2:02pm UTC

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