# Workflow to send email on enable / disable operations triggered upon lifecycle state change

**URL:** <https://developer.sailpoint.com/discuss/t/workflow-to-send-email-on-enable-disable-operations-triggered-upon-lifecycle-state-change/108299>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security, provisioning\
**Created:** [April 6, 2025, 4:21am UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-email-on-enable-disable-operations-triggered-upon-lifecycle-state-change/108299 "2025-04-06T04:21:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nileshnikalje](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/nileshnikalje/32/24406_2.png) [@nileshnikalje](https://developer.sailpoint.com/discuss/u/nileshnikalje)\
**Post date:** [April 6, 2025, 4:21am UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-email-on-enable-disable-operations-triggered-upon-lifecycle-state-change/108299/1 "2025-04-06T04:21:21Z")

</div>

We are using Webservices connector with disable / enable operation configured. We have configured the identity profile to enable and disable account when lifecycle state changes to Active and InActive. We have a workflow with Provisioning Completed trigger to send an email whenever a account is created or updated.  
The workflow does not get triggered for disable operation when the lifecycle state changes to Inactive. I thought the Provisioning trigger would capture the event.  
Are the disable/enable operations not captured by the Provisining Completed trigger?

---

<div class="post-metadata">

**Author:** ![kdfreeman](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kdfreeman/32/22737_2.png) [@kdfreeman](https://developer.sailpoint.com/discuss/u/kdfreeman)\
**Post date:** [April 6, 2025, 3:28pm UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-email-on-enable-disable-operations-triggered-upon-lifecycle-state-change/108299/2 "2025-04-06T15:28:15Z")

</div>

Hi Nilesh,

According to documentation, it should fire on account disable.  
`This trigger fires when an account has been provisioned, enabled, or disabled.`  
Doc Link: [Provisioning Completed | SailPoint Developer Community](https://developer.sailpoint.com/docs/extensibility/event-triggers/triggers/provisioning-completed/)

But, if it is not firing at your end, you can always use either “`Identity Attributes Changed`” or “`Source Account Deleted`” trigger for disable operation, filtering your source of concern.

Thanks.

---

<div class="post-metadata">

**Author:** ![nileshnikalje](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/nileshnikalje/32/24406_2.png) [@nileshnikalje](https://developer.sailpoint.com/discuss/u/nileshnikalje)\
**Post date:** [April 7, 2025, 6:06am UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-email-on-enable-disable-operations-triggered-upon-lifecycle-state-change/108299/3 "2025-04-07T06:06:03Z")

</div>

It triggers during Enable / Disable. I was looking for requests with provisioningResult = SUCCESS. However for Enable / Disable operation, the provisioningResult is committed. Hence the workflow was not getting triggered. Not sure why it has the value as committed and not success

---

<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:** [June 6, 2025, 6:06am UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-email-on-enable-disable-operations-triggered-upon-lifecycle-state-change/108299/4 "2025-06-06T06:06:31Z")

</div>

Closed on June 6, 2025, 6:06am UTC

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