skip to main
|
skip to sidebar
Salesforce Tutorials
Complete Salesforce Realtime Examples
Home
About
Java
J2ee
Spring
Hibernate
Salesforce
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
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...
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...
What all the services provided in cloud computing?
What all the services provided in cloud computing? Hi! In this post i am trying to explain about what is cloud computing and what are ...
Language settings and its importance in Salesforce.
Language settings and its importance in Salesforce As Salesforce is being used across the globe and we all use different languages to co...
Dev 401 Salesforce (SFDC) certification Question and Answers
Dev 401 Salesforce (SFDC) certification Question and Answers 1 1). Universal Containers has built a recruiting application with 2 cu...
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...
What is the Difference between Roles and Profiles in salesforce?
What is the Difference between Roles and Profiles in salesforce? Roles In salesforce, roles are defined so as to increase the data vi...
Difference between master-detail relationships and lookup relationships
Difference between master-detail relationships and lookup relationships Master-detail relationship Lookup relatio...
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...
what is record is read-only trigger?
what is record is read-only trigger? This post is regarding a error that we get because of trigger. " execution of AfterUpdate caus...
Archives
►
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)
|
,
Administration
Apex
Visual Force
Interview Questions
0 comments:
Post a Comment