That was my first thought as well. Using Javascript it is a bit difficult to take a workflow action when the time is up though. Not impossible, just outside the "normal" Remedy realm. Joe's Idea would bring this back into a pure Remedy realm.
Sylvain YVON has posted some great documentation around making Javascript with with Remedy workflow; including how to call an AL Guide via Javascript. Enhancing MT user experience with JavaScript; Part 1<https://communities.bmc.com/docs/DOC-21816> Enhancing MT user experience with JavaScript; Part 2<https://communities.bmc.com/docs/DOC-21818> Jason On Thu, Oct 10, 2013 at 5:17 AM, Jim Bruce <[email protected]> wrote: > Hi Joe, you can also implement this with a small bit of Javascript code > ... added to a View Field should do the trick, > or to target a display only field change the reference of "idCountdown" to > your "arid" field (eg. arid888000111). > > <html> > <body> > <span id="idCountdown"></span> > </body> > > <script type="text/javascript"> > // Countdown from a set number of seconds (eg. 300) > // OR set future date to countdown from (eg. end of epoch time) > > // *** INSTRUCTIONS *** uncomment either of the next two lines > var target = new Date().getTime() + (300 * 1000); > //var target = new Date("Jan 19, 2038").getTime(); > > // time vars > var dd, hh, mm, ss; > > // function to update countdown every second > setInterval(function () { > // seconds from now until target > var now = new Date().getTime(); > var seconds = (target - now) / 1000; > > // parse seconds into time vars > dd = parseInt(seconds / 86400); seconds = seconds % 86400; > hh = parseInt(seconds / 3600); seconds = seconds % 3600; > mm = parseInt(seconds / 60); > ss = parseInt(seconds % 60); > > // find and set id="countdown" in document > document.getElementById("idCountdown").innerHTML = dd + 'd ' + hh + 'h ' > + mm + 'm ' + ss + 's'; > > // indicate when countdown has completed > if (ss<0) { > document.getElementById("idCountdown").style.color = 'red'; > } > }, 1000); > </script> > </html> > > Hope this helps. > -Jim > > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

