# Work iteam close automatically

**URL:** <https://developer.sailpoint.com/discuss/t/work-iteam-close-automatically/58033>\
**Category:** IIQ Discussion and Questions\
**Tags:** workflows, event-triggers, identityiq, tasks\
**Created:** [May 27, 2024, 8:45am UTC](https://developer.sailpoint.com/discuss/t/work-iteam-close-automatically/58033 "2024-05-27T08:45:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamVentum](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/adamventum/32/10508_2.png) [@AdamVentum](https://developer.sailpoint.com/discuss/u/AdamVentum)\
**Post date:** [May 27, 2024, 8:45am UTC](https://developer.sailpoint.com/discuss/t/work-iteam-close-automatically/58033/1 "2024-05-27T08:45:00Z")

</div>

### Which IIQ version are you inquiring about?

Version 8.4

### Share all details related to your problem, including any error messages you may have received.

Hi and Hello,

I have some workflows which are adding or deleting roles when refresh is trigger lifecycle event(depatment, status, etc). Work iteams are waiting for decision from manager. I would like to close work iteams arfter 2 or 3 weeks automatically (no more wait for manager), what is the best way to do it?

I should add one more step to workflow and somehow calculate with “created” and todayDate than close work iteam?  
Maybe there is way to do this opnion on gui or some task? Maybe create another workflow to check this date/created and close?

Any suggestions it will be helpfull.  
Regards,  
Adam

---

<div class="post-metadata">

**Author:** ![kjakubiak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kjakubiak/32/7052_2.png) [@kjakubiak](https://developer.sailpoint.com/discuss/u/kjakubiak)\
**Post date:** [May 27, 2024, 9:05am UTC](https://developer.sailpoint.com/discuss/t/work-iteam-close-automatically/58033/2 "2024-05-27T09:05:18Z")

</div>

I believe the easiest way would be to use WorkitemExpiration rule - I was writing about it here

> [@LCM Provisioning WorkItem Expiration](https://developer.sailpoint.com/discuss/t/lcm-provisioning-workitem-expiration/53144):
>
> Which IIQ version are you inquiring about? Version 8.3 Share all details related to your problem, including any error messages you may have received. This is the lcm provisioning workflow : Variable initializer=“both” name=“workItemEscalationStyle”/\> Variable initializer=“Access Request Reminder Notification Email Template” name=“workItemReminderTemplate”/\> Variable initializer=“72” name=“workItemHoursBetweenReminders”/\> Variable initializer=“3” name=“workItemMaxReminders”/\> Variable initi…

---

<div class="post-metadata">

**Author:** ![AdamVentum](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/adamventum/32/10508_2.png) [@AdamVentum](https://developer.sailpoint.com/discuss/u/AdamVentum)\
**Post date:** [May 27, 2024, 9:08am UTC](https://developer.sailpoint.com/discuss/t/work-iteam-close-automatically/58033/3 "2024-05-27T09:08:42Z")

</div>

Thank you @kjakubiak .

I will check this.

Regards,  
Adam

---

<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:** [July 26, 2024, 9:09am UTC](https://developer.sailpoint.com/discuss/t/work-iteam-close-automatically/58033/4 "2024-07-26T09:09:41Z")

</div>

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