Activity › Forums › Salesforce® Discussions › What is the use of LockResult Class in Salesforce ?
-
What is the use of LockResult Class in Salesforce ?
Posted by Kirandeep on August 26, 2020 at 1:49 PMWhat is the use of LockResult Class in Salesforce ?
Sumit kumar replied 5 years, 9 months ago 4 Members · 3 Replies -
3 Replies
-
The <samp>System.Approval.lock()</samp> methods return Approval.LockResult objects. Each element in a LockResult array corresponds to an element in the ID or sObject array passed as a parameter to a <samp>lock</samp> method. The first element in the LockResult array corresponds to the first element in the ID or sObject array, the second element corresponds to the second element, and so on. If only one ID or sObject is passed in, the LockResult array contains a single element.
- [adinserter block='9']
-
In the lockresult class, System.Approval.lock() methods return Approval.LockResult objects. Each element in a LockResult array corresponds to an element in the ID or sObject array passed as a parameter to a lock method. The first element in the LockResult array corresponds to the first element in the ID or sObject array, the second element corresponds to the second element, and so on. If only one ID or sObject is passed in, the LockResult array contains a single element.
-
The <samp>System.Approval.lock()</samp> methods return Approval.LockResult objects. Each element in a LockResult array corresponds to an element in the ID or sObject array passed as a parameter to a <samp>lock</samp> method. The first element in the LockResult array corresponds to the first element in the ID or sObject array, the second element corresponds to the second element, and so on. If only one ID or sObject is passed in, the LockResult array contains a single element.
Log In to reply.