You need to sign in to do that
Don't have an account?
ShadowlessKick
Record State Equals EDIT
The user would like a batch job to run at an unspecified intraval to clear a hidden field. This could cause problems if it updates a record that someone is currently editing. I have not found a posting that explains how to identify if a record is currently being edited. Is that possible in APEX? This is not a on a custom object or through a visualforce page. Just want to see if the Opportunity record is currently in th process of being modified. IE..The user pressed the "EDIT' button.
I know that I can specify if my process is updating something. How can I check the record is already being updated at the time I check.
I have seen postings about records being "locked" for an approval process that is not what I am referring to here.
I know that I can specify if my process is updating something. How can I check the record is already being updated at the time I check.
I have seen postings about records being "locked" for an approval process that is not what I am referring to here.
I think instead for identifying which records are updating you can use, FOR UPDATE in SOQL qurey with locks the record, do the task and then release the lock
--
Regards,
Swayam
@Salesforceguy