Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Best Practices for Request Expire

Dev
New Contributor III
New Contributor III

Hi Team,

We have requirement to expire request older than 90 days. below are approach we identified 

  1.  Use Saviynt OOTB , Request Expiry Job to expire old request.
  2.  Use Custom query to discontinue old request. using query we are planning to discontinue request, access requested, approval pending.

Currently we are using #2 approach. Please let us know if any drawbacks of its in future.

 

3 REPLIES 3

dgandhi
All-Star
All-Star

It is better to use Saviynt OOTB box since the config is available. Custom Query job would be advisable only when no ootb config is available.

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

rushikeshvartak
All-Star
All-Star

@Dev 

Doing anything directly on database is not best approach, if Product does not have capabilities to expire request then only we should use Custom query job..

  • In your case., Approach #1 should be used. because. Saviynt having internal workflow tables and other tables where status should be updated appropriately otherwise you may face issues in future such as
    • request are not routed to correct approver,
    • request is visible even though request is discontinued through query
    • reporting ,etc
  • Configuration to use OOTB Feature is as follows
    • RefreshJob: To expire the requests that are in the pending approval status for a long time. You can change the duration to expire the requests through the Expire Request After global configuration. For more information, see Configuring Requests.

    • Global Configurations
      • Expiry

        Expires Request After

        Use this setting to specify the number of days after which requests expire.

        Notify Email template When Request Expires

        Use this setting to select an email template to notify users when the request expires.

        Days to notify before entitlement expires

        Use this setting to specify the number of days before entitlement expiration that the user must receive a notification.

        Days to notify before role expires

        Use this setting to specify the number of days before role expiration that the user must receive a notification

Let me know if you have any requirement which can't be fulfilled by OOTB Feature


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

naveenss
All-Star
All-Star

Hi @Dev ,

Please always go with the OOTB features wherever it is available. CustomQuery should be the last option when its not possible using the OOTB options as there are limitation for custom query job from an audit and technical standpoint. Hence, I would recommend you to use "Request Expiry Job" and set the number of days in the global configurations. 

Also, just curious to know. Was there any reason you went with the custom query approach?

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.