skip to main
|
skip to sidebar
Salesforce Tutorials
Complete Salesforce Realtime Examples
Home
About
Salesforce
Administration
Apex
Visual Force
Interview Questions
Java
J2ee
Spring
Hibernate
Webservices
videos
Training
Friday, July 4, 2014
How to check whether a record has been locked in the Approval Process?
How to check whether a record has been locked in the Approval Process?
Simple Steps:
Step1 : Create a field (say FLAG) of type Checkbox. Set the default value to UNCHECKED.
Step2: In your Approval Process in the INITIAL SUBMISSION Action , create a Field Update. Update the FLAG to TRUE.
Step3: In your FINAL APPROVAL and REJECTION Actions, create a Field Update. Update the FLAG back to FALSE.
Step4: And done!!!! You can now find whether a record has been locked simply by checking the FLAG value. Be it in your Apex Class or Visualforce Page.
Posted in:
apex
,
check whether a record has been locked in the Approval Process
,
Salesforce
,
Salesforce examples
,
salesforce training
,
Visualforce examples
,
Visualforce Training
Newer Post
Older Post
Home
0 comments:
Post a Comment
Subscribe!
Enter your email address:
Follow us in Facebook
Followers
Contact us
Name
Email
*
Message
*
Popular Posts
Two-factor authentication in Salesforce
Two-factor authentication in Salesforce Two-factor authentication in Salesforce is a two-step login process. You can enable it if your u...
SFDC Developer Interview Question and Answers
SFDC Developer Interview Question and Answers ( Q ). What is Apex in Salesforce? • Apex is a procedural scripting language in discre...
What is Web Service and What are different types of webservices?
What is Web Service and What are different types of web services? A Web Service is can be defined by following ways: Is a cli...
Delegated administration in salesforce.
Concepts of delegated administration Let's start with an example where TCS has 5,000 Salesforce Enterprise Edition licenses, and the...
Advanced Formula Fields in Salesforce.
Advanced Formula Fields in Salesforce. Use the following formula samples when creating custom formula fields. For samples of other types...
Agentforce Vibes
Agentforce Vibes is Salesforce’s enterprise-grade implementation of "Vibe Coding" —a new way of building software where you use n...
What is Software Development Life Cycle?
What is Software Development Life Cycle? Software Development Life Cycle is a process used by software industry to design, develop and te...
Project Management in Salesforce: How to Prioritize Projects
Project Management in Salesforce: How to Prioritize Projects in Salesforce
View Setup Audit Trail in Salesforce
View Setup Audit Trail Salesforce.com keeps an Audit Trail of configuration changes made in the Setup section. This Audit Trail is avail...
Data import from csv using Visualforce page
Data import from csv using Visualforce page Here is a example to read a csv file and display it in a pageblocktable. Following exampl...
Archives
►
2025
(1)
►
December
(1)
►
2017
(7)
►
February
(7)
►
2016
(16)
►
May
(3)
►
April
(13)
►
2015
(46)
►
December
(1)
►
October
(18)
►
September
(2)
►
June
(1)
►
May
(3)
►
March
(3)
►
February
(2)
►
January
(16)
▼
2014
(341)
►
December
(14)
►
November
(16)
►
October
(22)
►
September
(28)
►
August
(34)
▼
July
(38)
Visualforce Action Region Example.
Visualforce Action Function Example.
Docusign for Salesforce Demo.
How to use apex:selectOptions and prepare picklist...
Data Table with Custom Styles in Visualforce page.
Repeater Usage in Visualforce Page.
PageBlock Table with Wizard in Visualforce page.
Display images in salesforce formula field.
What is StandardSetController Class?
Simple Visualforce Pagination Example Using Standa...
Docusign for Salesforce Video.
Visualforce Email Template with custom controller.
How to log a technical support ticket with salesfo...
What is cloud computing?
SalesForce.com Icons Available for Use.
Confirm Dialog box in Visualforce.
What is the Difference between Roles and Profiles ...
Simple Pagination Example in Visualforce.
The Importance of Customer Relationship.
How to compare old field value with the New field ...
How to view Force.com IDE log?
How to use static resource in image formula field ...
Sales Process flow
How to find the deployment status in Salesforce?
How to Read/Create record types in Apex test class?
Salesforce Custom objects and fields Limitation
Setting up Single Sign-On in Salesforce.
Is it possible to mass update users licenses in Sa...
How to execute the batch apex class using develope...
How to query This Fiscal and Last Fiscal Year oppo...
How to Use Salesforce Static Resource as a Dynamic...
Passing parameters with Command Link
What is the Visualforce Page Size?
How to get the query parameters in visualforce page?
How to check whether a record has been locked in t...
Date and Number Format in Visualforce Page.
How to implement “Cancel” functionality in a Visua...
What is Maximum view state size limit exceeded in...
►
June
(69)
►
May
(13)
►
April
(33)
►
March
(28)
►
February
(23)
►
January
(23)
Powered by
Blogger
.
|
,
0 comments:
Post a Comment