# Fetch end date of the users terminated manually as emergency termination

**URL:** <https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, transforms, apis, sailpoint-identity-security\
**Created:** [July 6, 2026, 1:46pm UTC](https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801 "2026-07-06T13:46:09Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![iamnithesh](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/iamnithesh/32/42445_2.png) [@iamnithesh](https://developer.sailpoint.com/discuss/u/iamnithesh)\
**Post date:** [July 15, 2026, 8:11am UTC](https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801/21 "2026-07-15T08:11:47Z")

</div>

[DateOfInactive.json](https://developer.sailpoint.com/discuss/uploads/short-url/29bYvABfUlvUQEfM10IgPCwCHeb.json) (1.2 KB)

Here is the barebone transform. You can build on this

---

<div class="post-metadata">

**Author:** ![vguleria](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vguleria/32/7884_2.png) [@vguleria](https://developer.sailpoint.com/discuss/u/vguleria)\
**Post date:** [July 17, 2026, 9:59am UTC](https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801/22 "2026-07-17T09:59:16Z")

</div>

Hi @Deepak_Chaudhary

I think it is possible using static transform. The core idea of approach would be that you compare current LCS with the new calculated LCS and if the calculated LCS is terminated but previously it was active, you can use now() function to find out the exact timestamp.

Thank You.

Regards

Vikas.

---

<div class="post-metadata">

**Author:** ![schattopadhy](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/schattopadhy/32/8854_2.png) [@schattopadhy](https://developer.sailpoint.com/discuss/u/schattopadhy)\
**Post date:** [July 18, 2026, 2:09am UTC](https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801/23 "2026-07-18T02:09:22Z")

</div>

> [@Deepak\_Chaudhary](#):
>
> user gets terminated manually then we need the same date to be fetched in any attribute, when the account was moved to terminated state and this date needs to be selectable via SailPoint. The format shoul

Hi @Deepak_Chaudhary set this attribute in Active directory using a before rule and then if you want to pull it any attribute you can pull it .We have already implemented this

---

<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:** [September 16, 2026, 2:09am UTC](https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801/24 "2026-09-16T02:09:31Z")

</div>

Closed on September 16, 2026, 2:09am UTC

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

[Previous page](https://developer.sailpoint.com/discuss/t/fetch-end-date-of-the-users-terminated-manually-as-emergency-termination/215801.md?page=1)
