cancel
Showing results for 
Search instead for 
Did you mean: 

Rejected leave request

Former Member
0 Kudos

We have a problem that our users don't delete a leave request when it is rejected. After a year, they don't see the request any more in portal, but we see it in PTARQ - document status REJECTED, WF status STARTED.

What we have done so far, is to cancel the WF so we don't have so many open WF in system.
But we have not deleted the request itself.

Will this approach cause any problems?

(We let our 2nd line support cancel the WF, but we would rather not give them access to delete requests, as this to us is a more drastic action).

/Kirsten

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

It is recommended to use report  RPTARQSTOPWF, scheduled monthly to clear out these items

Leave Requests: Complete Current Workflows

You can use this program to end workflows for rejected leave requests that have not been processed for a long time. Any leave requests ended by this program can no longer be processed by your employees.

We dont recommend deletion and given any other access to employees

Former Member
0 Kudos

Thank you, Siddharth. 

I didn't know about this report.

I see that it cancels WF and sets status for request to STOPPED.

Some extra questions:

  • How will the request appear in the portal for the end-user when this program is run?
  • Do you have a best practice for the time since processing one should set in the program?
  • We have a situation now where we move employees from one company code to another within the same client. We would like to stop all rejected requests just for the old company. But this is not possible. We see 2 options:
    • Leave the requests open. Will this cause problems when the old company is shut down?
    • Cancel the WF and delete requests.  I see you don't recommend this. But what ist the risk? The only difference from if employee himself deletes, is that we have a WF which is cancelled instead of completed. The customer has requested that we delete the requests for them.  It regards requests that are either too old for the employee to see, or where employee has left company.

I really appreciate you sharing your knowledge here!

Kirsten

/Kirsten

siddharthrajora
Product and Topic Expert
0 Kudos

Status would be set as Withdrawan

! The Leave record status is "STOPPED", you can check via rptarqdbview

Workflow status is "CANCELLED" and Work Item status is "LOGICALLY

DELETED" after executing the report.

You can use Rptarqdbdel to delete requests too if leave requests are nomore to be accessed again

Now coming to the frequency of the report RPTARQSTOPWF

Do you want employees to amend rejected leave request status?

If not, then you can schedule it everyday once

if you allow changes to leave request rejected status, then keep this in biweekly

however you can always change the settings in the report ie for old requests

Relative to Current Date 

Former Member
0 Kudos

By "Status would be set as withdrawn" I take it you mean that the request disappears from the employee's leave request in portal. Looks that way from my testing. This is great!

/Kirsten

Answers (0)