Hi all, I am trying to create a leave workflow that copies number of days of annual leaves taken to another list (lets call it Leave Balance), it also must subtract the number of days taken from 30 (which is eligible days). I have already done this and it works fine. The thing is if a user applies more than one time for a leave, the first time number of days should be subtracted from 30, otherwise it should subtract from remaining eligible days.
I think that I should be using run if action, then update field but I am not sure about the configuration.
Any help would be appreciated.
Please note that this process is in leave request workflow so upon approving, line manager must refer to leave balance list to check number of days left for employees.
