AnsweredAssumed Answered

Update Field on Record Exit

Question asked by mdumas on Feb 10, 2012
Latest reply on Feb 10, 2012 by mdumas

Hi,

 

I am using the OnRecordLoad trigger to run a script that run a custom dictionary to highlight certain words in a text field. I need the script to not run if someone else is in the record currently, so I created a field InUse to mark as True when it is in use.

 

The problem I have is I cannot figure out how to set the field to False on exiting the record. I believe there is no trigger for this. I thought about using a global variable to keep track and update on the next load, but that will not work because of multiple users and these users remaining in the record for an extended time.

 

Does anyone know of a technique to update a field in a previously viewed record?

 

Thank you.

Outcomes