# Unable to Verify that Manager is not present in Sailpoint

**URL:** <https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [October 7, 2025, 11:45am UTC](https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783 "2025-10-07T11:45:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luissebastiao](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/luissebastiao/32/30868_2.png) [@luissebastiao](https://developer.sailpoint.com/discuss/u/luissebastiao)\
**Post date:** [October 7, 2025, 11:45am UTC](https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783/1 "2025-10-07T11:45:52Z")

</div>

I am trying to create a Workflow that will trigger based on a user´s manager change. Due to license limitations, we do not have all users present in Saipoint. So, if the user manager changes to a user not currently present in Sailpoint ,my objective is to trigger a acess request for a role to grant the user Sailpoint access.

To do this, I am using **Get List of Identities** with a search query to check if the new users manager is present in Sailpoint. My objective then is to use **Verify Data Type** and check if the value is null or not.

The issue seems to be that. **$.getListOfIdentities.identities** is never coming out as a null value, but it should, since if the **Get List of Identities** search query can not find the user, it does return a Null, but when it comes to verifying that data, it never actually returns a null.

 ![Screen Shot 2025-10-07 at 12.36.55 PM](https://global.discourse-cdn.com/sailpoint/original/3X/a/5/a5db277e4a7aec840565cfed73415309b4ca3603.png)

---

<div class="post-metadata">

**Author:** ![jsosa](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/jsosa/32/31578_2.png) [@jsosa](https://developer.sailpoint.com/discuss/u/jsosa)\
**Post date:** [October 7, 2025, 3:32pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783/2 "2025-10-07T15:32:50Z")

</div>

Hi Luis, have you considering having some fake identity which could be the default if manager identity is not present? This could facilitate your workflow logic.

---

<div class="post-metadata">

**Author:** ![MattUribe](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/matturibe/32/20300_2.png) [@MattUribe](https://developer.sailpoint.com/discuss/u/MattUribe)\
**Post date:** [October 7, 2025, 4:25pm UTC](https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783/3 "2025-10-07T16:25:17Z")

</div>

I think what you need is a Compare Numbers operator.

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

If the length of the identities array returned by get identities is 1 or more, then you have a result. Otherwise, your identity was not found.

---

<div class="post-metadata">

**Author:** ![RAKRHEEM](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@RAKRHEEM](https://developer.sailpoint.com/discuss/u/RAKRHEEM)\
**Post date:** [October 8, 2025, 9:45am UTC](https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783/4 "2025-10-08T09:45:08Z")

</div>

This should work as the way Matt has mentioned. Please let us know if it is giving an error

---

<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 7, 2025, 9:45am UTC](https://developer.sailpoint.com/discuss/t/unable-to-verify-that-manager-is-not-present-in-sailpoint/184783/5 "2025-12-07T09:45:11Z")

</div>

Closed on December 7, 2025, 9:45am UTC

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