Matt, Rick, Hugo et al

I did have a chance to experiment a little with the event flooding idea this
morning. I have not been able to use a data visualization field to send an
event that would trigger the count, but I did play a bit with the following:

Active link one sends an event to the current window when your counted field
gains focus. I chose to send an event named $FIELDID$

Active link two handles the event - if $EVENTYPE$ = $FIELDID$ then do the
counting and send the same event (named #FIELDID$) to the current window.

You would think this would make a loop that would only run while your
counted character field has the focus, but what actually happens is that all
those events are handled in the same queue (thread?) on the client. If
you're watching the client workflow log you'll notice that you never get a
"Stop processing - on event" message. The event is sent (on my workstation)
about 190 times before the client blows up ;-). Might be able to break this
into separate active links but I don't think it would help.

And Hugo's right about there not being any synchronization between clients
across the network for active links triggered on interval. All the active
links that happen on interval are processed in synch. In other words if you
have a 3 second interval and a 15 second interval, every 15 seconds they
will both execute together (in some order, but in response to the same
trigger). There's no clever way to use some combination of intervals to
happen every second. All the options are multiples of 3 seconds, so that's
the smallest interval.

Thus ends my Friday afternoon,

And. with apologies to Colts fans in the Super Bowl...

GO BLAIRS!

(and Bears fans too, I guess)

Doug Blair

> -----Original Message-----
> From: Action Request System discussion list(ARSList) 
> [mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
> Sent: Thursday, February 01, 2007 7:15 AM
> To: [email protected]
> Subject: Re: Workflow
> 
> There might be another way to do this in v7. ( I did not notice a
> version reference in the previous emails, but I might have missed it
> too.)
> 
> How about this idea?
> 
> Setup a DVF (Data Visualization Field) (maybe a view field would work
> too?) that would use Javascript to "emit" ARS events every second. The
> event would signal a guide to be run on the form and the recount to be
> done. Assuming that the above model works then I would think that
> Javascripts setTimeOut could even be set to run every millisecond
> seconds too. (now I have no idea how long it takes for an even to be
> processed and you might actually be able to flood the User Tool with
> events and never get the active links to stop long enough for you to
> actually type in the field too. (So do not set it to ever millisecond.
> :)
> 
> But that might work and get you a smaller interval than 3 seconds.
> 
> -- 
> Carey Matthew Black
> Remedy Skilled Professional (RSP)
> ARS = Action Request System(Remedy)
> 
> Love, then teach
> Solution = People + Process + Tools
> Fast, Accurate, Cheap.... Pick two.
> 
> RE:
> "
> Is it possible to populate a field as you typing in another
> field..like real time information and not populating it after losing
> focus or something.
> 
> What I am trying to do is while you tying into a text field it should
> display how many characters are left for you to type in another text
> field like the example below.
> "
> 
> ______________________________________________________________
> _________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> ARSlist:"Where the Answers Are"
> 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to