You are viewing limited content. For full access, please sign in.

Question

Question

Update a DB yearly

asked on February 25, 2018

Hello,

I am having a DB for a travel request process that contains the default number of leaves that an employee has per year and based on the request and approval the number of pending leaves will be updated. But what i want is to restore the number of leaves to the default value after one year and this should be done every year. How is this possible.

Thanks in advance

0 0

Replies

replied on February 25, 2018

Hi Shibin,

If I understand your requirement correctly, the process should be relatively straightforward.  Assuming that you have the annual available leave days in a metadata field on an employee folder template, here's one approach you could try:

  1. Create a Workflow that searches for all the employee folders (or whichever document/folder contains the leave entitlement field per employee)
  2. Under a For Each Entry activity, have an Assign Field Values activity to set the leave balance to the default value - or if you include a carry-over balance of unused leave, add it to the carry-over balance using a Token Calculator activity.
  3. Schedule the Workflow to run before the start of work on the annual rollover date.

 

Cheers,

Mike

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.