In approval step in IIQ is workItemHoursTillExpiration is a valid argument?

Hi,
I would like to achieve this for an workitem:
Reminder every day starting with day 1; escalate to manager after 7 reminders; expire on day 10

workItemHoursTillEscalation=24
workItemHoursBetweenReminders=24
workItemMaxReminders=7
workItemHoursTillExpiration = 240
However, everything is working as expected but my workitem is not getting expired on the 10th day, it is keep on sending reminders to manager after 10 days also. Any idea why so? Is workItemHoursTillExpiration is not a valid argument for workitem? If not then how can I achieve so?

No, “workItemHoursTillExpiration” is not a valid argument. You will need to explicitly set the expiration date on the WorkItem object. You can do this by calling this method from the sailpoint.object.WorkItem class:

public void setExpiration(java.util.Date d)

This is usually done inside the of the where the WorkItem is created