Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Discontinue automatically tasks after X time

afauquem
Regular Contributor
Regular Contributor

Hi,

I'm using a disconnected application with an Helpdesk connection. So we create tickets and retrieve their status.

I was wondering if there is a period after tasks in pending are automatically set as discontinue ? Like if after 30 days I don't get any update of the status, is there a configuration to automatically set the task as "Discontinue" or the task will still be in pending indefinitely ?

So, we need to create an enhanced query to check tasks older than 30 days and set their status from pending to discontinue ?

Thanks !

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Yes currently task discontinued is not supported OOTB. You can create enhanced Query

SELECT 4 AS arstasks__status, taskkey AS arstasks__primarykey
FROM arstasks
WHERE
AND status IN (2,1)
AND taskdate < DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)

and ownertype=2


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.