+ Start a Discussion
iKnowSFDCiKnowSFDC 

Update not completing due to record lock

I have a deep clone process executing on the opportunity object which writes the resulting new record link to the originating opportunity. The opporutnities are locked after an approval process before being set to closed won and the  clone doesn't happen until after the opportunity is set to won so the process is failing.  

 

I'm not seeing anything obvious that will allow me to unlock the record, make the update and then relock it - am I missing something or is it not possible? 

 

Thanks,

JoAnn

colemabcolemab

At this time you can't lock/unlock a record in apex code.  Please vote up this idea for that functionality.

iKnowSFDCiKnowSFDC

Shoot - ok. Thanks. 

 

Found the following two ideas on the topic - both older so not very popular now?  

https://sites.secure.force.com/success/ideaView?id=08730000000BpXRAA0

 

https://sites.secure.force.com/success/ideaView?id=08730000000BrZOAA0