# Postman filter issue

**URL:** <https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354>\
**Category:** SHF Discussion and Questions\
**Tags:** api, postman, sailpoint-identity-security\
**Created:** [June 2, 2026, 7:14pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354 "2026-06-02T19:14:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 2, 2026, 7:14pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/1 "2026-06-02T19:14:32Z")

</div>

i am getting the work items data through API, by filtering owner ID of workitems.it is working as expected.

i need to filter application as well how can i do it.

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

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 2, 2026, 7:16pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/2 "2026-06-02T19:16:26Z")

</div>

i have tried with “filters” in key and value is “response.approvalItems[\*].application” eq “application name”" but not working

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 2, 2026, 7:41pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/3 "2026-06-02T19:41:19Z")

</div>

That’s a great question! You’re right to double‑check the documentation before trying to filter by application. I looked through the **SailPoint Identity Security Cloud (ISC) V2025 API** docs and community posts and here’s what I found:

### **What the Documentation Confirms**

The `/work-items` endpoint supports filtering only on **top‑level fields** such as:

- `ownerId`
- `state`
- `type`
- `created`
- `requestId`

Nested objects like `approvalItems.application` are **not directly filterable** through query parameters. That’s why your current filter (`?ownerId=...`) works, but adding something like `?application=...` doesn’t.

### **Reference**

- **[SailPoint ISC API Docs → Work Items](https://developer.sailpoint.com/docs/api/v2025/list-work-items/)**: Only top‑level filters are documented (`ownerId`, `state`, `type`, etc.).

### **Workaround Options**

1. **Client‑side filtering**

- Retrieve work items filtered by owner (as you already do).
- Then filter the `approvalItems` array in using python script or workflow logic:

```auto
filtered = [
    item for item in work_items
    if any(app["application"]["name"] == "YourAppName" for app in item["approvalItems"])
]

```

- This is the most reliable method since the API doesn’t expose nested filters.

Thanks,  
Shantha Kumar

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 2, 2026, 7:55pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/4 "2026-06-02T19:55:47Z")

</div>

I have tried in workflow in the loop, same post call to mark the workitems as completed but it is not working as expected

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 3, 2026, 6:51am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/5 "2026-06-03T06:51:38Z")

</div>

Hey @RahulMekala What exactly are you trying to achieve?

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 7:07am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/6 "2026-06-03T07:07:38Z")

</div>

I want to mark workitems as completed through a workflow where it should verofy for only particular application and owner

---

<div class="post-metadata">

**Author:** ![suraj\_gorle](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/suraj_gorle/32/35158_2.png) [@suraj\_gorle](https://developer.sailpoint.com/discuss/u/suraj_gorle)\
**Post date:** [June 3, 2026, 7:11am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/7 "2026-06-03T07:11:07Z")

</div>

> [@RahulMekala](#):
>
> want to mark workitems as completed through a workflow where it should verofy for only particular application and owner

Hi @RahulMekala ,

I don’t think so filter is available for the list workitem API call. In workflow try to filter it out using json query.

---

<div class="post-metadata">

**Author:** ![BBR1](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@BBR1](https://developer.sailpoint.com/discuss/u/BBR1)\
**Post date:** [June 3, 2026, 7:14am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/8 "2026-06-03T07:14:10Z")

</div>

The issue is with the filter syntax/URL encoding in Postman, not the API itself.

Verify:

- The filter expression is URL- encoded correctly(spaces, quotes, operators).
- String values are enclosed in quotes where required.
- check if you are using filter format supported by Sailpoint API endpoint.
- test endpoint without the filter first, then add the filter incrementally to identify the failing clause.

Many issues are caused by postman not encoding special characters as expected.

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 7:24am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/9 "2026-06-03T07:24:09Z")

</div>

How can we do it.

It should be updated in body of https request step

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 3, 2026, 11:33am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/10 "2026-06-03T11:33:40Z")

</div>

@RahulMekala Try the below steps. It works for me and able to complete the work item based on the specific owner ID and application name.

- Get Work Items using HTTP Request
- Next step: use Verify Date Type by checking the ownerID
- Next use another Verify Data Type by checking the application
- Then store the work item ID in Define variable
- Lastly, use the define variable to update the work item as completed.

Step 1:

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/a/6/a68585a5fa84e21721d0abd0ad9a9db065e8533d.png)  
Step 2:  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/f/1/f168d71c2f364d79b1cc129481325f349b685e2c.png)  
Step 3:  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/5/8/58a9d9e2759635d3fe94e8678d385c339bf51309.png)  
Step 4:  
 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/5/e54b3a4bbe56ca26c01d230dd5ab58ea22a98017.png)

Step 5:

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/d/c/dcee759af436d937b2744300ebc935079dde8f18.png)

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 11:54am UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/11 "2026-06-03T11:54:25Z")

</div>

If there are multiple worktitems

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 3, 2026, 12:10pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/12 "2026-06-03T12:10:35Z")

</div>

Then keep the last HTTP Request inside the Loop.

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 12:42pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/13 "2026-06-03T12:42:53Z")

</div>

what is the post URL using in step 5 and how it is taking id of approval item

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 12:54pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/14 "2026-06-03T12:54:55Z")

</div>

Unable to parse input as JSON, please ensure it is syntactically correct. (type: Error Parsing Input, retryable: false): invalid character ‘e’ in literal true (expecting ‘r’)

getting error in last step and in define varible i am not getting any ID as output

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 3, 2026, 1:05pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/15 "2026-06-03T13:05:56Z")

</div>

Below is the URL i’m using in Step 5:  
[https://devrel.api.identitynow-demo.com/v2024/work-items/{{$.defineVariable.workItemID}](https://devrel.api.identitynow-demo.com/v2024/work-items/%7B%7B$.defineVariable.workItemID%7D)}

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 1:21pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/16 "2026-06-03T13:21:48Z")

</div>

i am getting same error in last step may be in define variable i am not getting output id  
\*\*  
Error\*\*

Unable to parse input as JSON, please ensure it is syntactically correct. (type: Error Parsing Input, retryable: false): invalid character ‘e’ in literal true (expecting ‘r’)

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [June 3, 2026, 1:41pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/17 "2026-06-03T13:41:18Z")

</div>

When you run the test workflow click on the Define variable \>\> Step Output can you see what is giving there. If possible take a screenshot and send it here.

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 1:49pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/18 "2026-06-03T13:49:06Z")

</div>

![image](https://global.discourse-cdn.com/sailpoint/original/3X/9/3/930b250670968f40837ce1c359cb7761b65383b2.png)

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 1:49pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/19 "2026-06-03T13:49:28Z")

</div>

i have added screenshot of varible step output

---

<div class="post-metadata">

**Author:** ![RahulMekala](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@RahulMekala](https://developer.sailpoint.com/discuss/u/RahulMekala)\
**Post date:** [June 3, 2026, 2:10pm UTC](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354/21 "2026-06-03T14:10:13Z")

</div>

can you please provide me whole workflow JSon

[Next page](https://developer.sailpoint.com/discuss/t/postman-filter-issue/211354.md?page=2)
