# Update access when change an attribute

**URL:** <https://developer.sailpoint.com/discuss/t/update-access-when-change-an-attribute/67162>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [June 17, 2024, 11:17pm UTC](https://developer.sailpoint.com/discuss/t/update-access-when-change-an-attribute/67162 "2024-06-17T23:17:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob\_islas](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jacob\_islas](https://developer.sailpoint.com/discuss/u/jacob_islas)\
**Post date:** [June 17, 2024, 11:17pm UTC](https://developer.sailpoint.com/discuss/t/update-access-when-change-an-attribute/67162/1 "2024-06-17T23:17:46Z")

</div>

Hi developers

I am using the workflow template “Update and Certify Access When an Identity Changes Department” and in the operator section: compare strings it compares the new value of the attribute that is changing against the name of a specific department. Can it be indicated that it is not a specific value but that it can be changing to any value? For example, by placing a wildcard (\*)

I hope you can guide me  
Regards

---

<div class="post-metadata">

**Author:** ![jesvin90](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/jesvin90/32/5301_2.png) [@jesvin90](https://developer.sailpoint.com/discuss/u/jesvin90)\
**Post date:** [June 18, 2024, 7:28am UTC](https://developer.sailpoint.com/discuss/t/update-access-when-change-an-attribute/67162/2 "2024-06-18T07:28:35Z")

</div>

Hi @jacob_islas,

Welcome to the community.

If you want to take action when the department value changes to any value, you can just delete the compare operator.

Since the Identity attribute changed trigger has a filter - `$.changes[?(@.attribute == "department")]` - the workflow will get triggered when the department value changes to any value.

Your workflow would look something like this :

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

---

<div class="post-metadata">

**Author:** ![jacob\_islas](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jacob\_islas](https://developer.sailpoint.com/discuss/u/jacob_islas)\
**Post date:** [June 19, 2024, 4:06pm UTC](https://developer.sailpoint.com/discuss/t/update-access-when-change-an-attribute/67162/3 "2024-06-19T16:06:43Z")

</div>

It’s works.  
Thanks Jesvin

---

<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:** [August 18, 2024, 4:07pm UTC](https://developer.sailpoint.com/discuss/t/update-access-when-change-an-attribute/67162/4 "2024-08-18T16:07:29Z")

</div>

Closed on August 18, 2024, 4:07pm UTC

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