update daysAvailableCounter vacation Request
anyone can help me pleeease , in leave request when I do the first one a leave request the currentbalance(daysAvailable) updated but the second one back to the daysAvailableInitial
For exemple daysInitialValue = 60
new request( NbreDays=5 ) --> daysAvailableCounter:60-5=55
second request (NbreDays = 3)--> daysAvailableCounter 60-3=57 shoud be do daysAvailableCounter 55-3= 52
thanks in advance
this is my process.bos
There is an issue with the logic of your program, you are:
either not saving 55 into the record correctly, or
you are getting the wrong record
something you need to walk through very carefully, understand and fix yourself. I don't have a couple of free hours to do this, sorry.
You mean this one?
If there is a problem with it you should create an issue on the Github page for the example here
Bonitasoft support this example to ensure customers can use it.