# Notify When LCS Changes from OnLeave to Active

**URL:** <https://community.sailpoint.com/discuss/t/notify-when-lcs-changes-from-onleave-to-active/36973>\
**Category:** Lifecycle & Governance\
**Tags:** event-triggers-workflows\
**Created:** [October 29, 2025, 12:30am UTC](https://community.sailpoint.com/discuss/t/notify-when-lcs-changes-from-onleave-to-active/36973 "2025-10-29T00:30:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivakumarnallu](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sivakumarnallu](https://community.sailpoint.com/discuss/u/sivakumarnallu)\
**Post date:** [October 29, 2025, 12:30am UTC](https://community.sailpoint.com/discuss/t/notify-when-lcs-changes-from-onleave-to-active/36973/1 "2025-10-29T00:30:29Z")

</div>

I need assistance in creating a workflow that triggers when the Lifecycle State (LCS) changes from **OnLeave** to **Active**.

The query I’m using works correctly, but I want the workflow to send an email **immediately** upon the state change, rather than on a scheduled basis. I’m having difficulty adding an **if-else condition** to handle the LCS change logic.

type:provisioning AND operation:CHANGE AND \_exists\_:info.“newState:active previousState:onleave” AND created:[now-48h TO now] AND name:“Change Identity State Passed”

---

<div class="post-metadata">

**Author:** ![cinilsunny](https://sea3.discourse-cdn.com/sailpoint2/discuss/user_avatar/community.sailpoint.com/cinilsunny/32/17819_2.png) [@cinilsunny](https://community.sailpoint.com/discuss/u/cinilsunny)\
**Post date:** [October 29, 2025, 11:04am UTC](https://community.sailpoint.com/discuss/t/notify-when-lcs-changes-from-onleave-to-active/36973/2 "2025-10-29T11:04:34Z")

</div>

Cerate a workflow and not a search query.

Some examples are here:&nbsp;[Workflows | SailPoint Developer Community](https://developer.sailpoint.com/colab/workflows)

---

<div class="post-metadata">

**Author:** ![TomNimmo](https://sea3.discourse-cdn.com/sailpoint2/discuss/user_avatar/community.sailpoint.com/tomnimmo/32/1060_2.png) [@TomNimmo](https://community.sailpoint.com/discuss/u/TomNimmo)\
**Post date:** [October 29, 2025, 4:24pm UTC](https://community.sailpoint.com/discuss/t/notify-when-lcs-changes-from-onleave-to-active/36973/3 "2025-10-29T16:24:27Z")

</div>

Specifically you’ll want to look at the “Identity Attribute Changed” trigger, with a filter on the cloudLifecycleState attribute. Then you could perform a few conditional tests to make sure the oldValue of cloudLifecycleState is&nbsp;OnLeave and the newValue is Active. That way you aren’t sending emails for other LCS transitions.

Or, if you want something very quick that does not discriminate on how the identity came to be active, you can set up email notifications in the authoritative source’s identity profile under the active lcs.
