Hello,
I'm trying to schedule a transition to happen automatically after 3 days without an update but I want to ignore Saturday and Sunday as days counted. Can JJupin do this?
Hi Ethan,
Of course, you can do anything with SIL. 
You should use a SIL Service doing something like this:
date auxDate = updated;
number days = 0;
while (auxDate < currentDate()) {
    if (dayOfWeek(auxDate) != "Sun" && dayOfWeek(auxDate) != "Sat") {
        days ++;    
    }
    auxDate = auxDate + "1d";
}
if (days >= 3) {
   //your transition here
}In order to execute the transiton you want, you can use autotransition.
Hope this helps,
Alexandra 
 
 
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.