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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.