Not able to notice if a record is locked in approval process in lightning interface - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Andrean LoboAndrean Lobo 

Not able to notice if a record is locked in approval process in lightning interface

Hi,

In the lightning interface we do not see the 'lock' when a certain record goes in approval. Hence, it is difficult to understand if that record entered a certain approval process. Is there any way (formula field) to to evidence that the record has entered an approval process? 

Isblocked or something similar??

Thank-you,
Andréan 

 
Vishal SaraswatVishal Saraswat
Hi @Andrean,

I think we can do it by using Apex.
for more details please check the below threads: -
https://salesforce.stackexchange.com/questions/30977/check-if-a-record-is-in-approval-process
https://www.biswajeetsamal.com/blog/set-approval-process-lock-and-unlock-records-using-apex-code/

Hope it will help you.
if your issue is resolved then mark it to close this thread.
Andrean LoboAndrean Lobo
Hello Vishal,
Thank you for your response. I set up a field update as an initial submission to set a custom checkbox field as TRUE when the record goes in approval. 
It works.

Thanks,
Andréan