Skip to main content

Set Approval Process Locks and Unlocks with Apex Code - Winter16


New lock() and unlock() methods in the System.Approval namespace let you lock records by passing in record IDs or sObjects. Previously, you could set approval-process locks and unlocks only through the Salesforce user interface.

Comments

  1. Do you understand there is a 12 word sentence you can communicate to your man... that will induce deep feelings of love and impulsive attraction to you buried within his heart?

    That's because deep inside these 12 words is a "secret signal" that fuels a man's instinct to love, adore and guard you with all his heart...

    =====> 12 Words Will Trigger A Man's Desire Instinct

    This instinct is so built-in to a man's genetics that it will drive him to try better than ever before to make your relationship as strong as it can be.

    In fact, fueling this dominant instinct is absolutely binding to achieving the best ever relationship with your man that once you send your man one of these "Secret Signals"...

    ...You will instantly notice him open his soul and heart for you in a way he never expressed before and he'll recognize you as the one and only woman in the galaxy who has ever truly appealed to him.

    ReplyDelete
  2. As claimed by Stanford Medical, It is really the ONLY reason this country's women live 10 years longer and weigh an average of 19 kilos lighter than we do.

    (Just so you know, it is not related to genetics or some secret-exercise and EVERYTHING about "how" they eat.)

    BTW, I said "HOW", not "what"...

    TAP this link to uncover if this little quiz can help you release your real weight loss possibilities

    ReplyDelete
  3. If you're trying hard to lose kilograms then you certainly need to try this brand new tailor-made keto meal plan diet.

    To create this keto diet service, licensed nutritionists, fitness couches, and professional cooks united to develop keto meal plans that are efficient, painless, economically-efficient, and enjoyable.

    Since their first launch in 2019, 1000's of people have already transformed their body and well-being with the benefits a professional keto meal plan diet can give.

    Speaking of benefits: clicking this link, you'll discover eight scientifically-proven ones offered by the keto meal plan diet.

    ReplyDelete
  4. Look at the way my friend Wesley Virgin's tale launches in this SHOCKING AND CONTROVERSIAL VIDEO.

    Wesley was in the military-and shortly after leaving-he discovered hidden, "mind control" secrets that the CIA and others used to get anything they want.

    THESE are the exact same methods lots of famous people (notably those who "come out of nowhere") and elite business people used to become wealthy and famous.

    You probably know how you use less than 10% of your brain.

    Really, that's because most of your brain's power is UNCONSCIOUS.

    Maybe that conversation has even occurred IN YOUR very own brain... as it did in my good friend Wesley Virgin's brain about 7 years back, while riding an unlicensed, beat-up trash bucket of a car without a driver's license and with $3.20 on his bank card.

    "I'm very fed up with living check to check! When will I finally succeed?"

    You've been a part of those those types of questions, am I right?

    Your success story is going to start. All you need is to believe in YOURSELF.

    Learn How To Become A MILLIONAIRE Fast

    ReplyDelete
  5. If you're trying to lose pounds then you have to start using this brand new custom keto meal plan diet.

    To design this keto diet, certified nutritionists, fitness couches, and professional cooks have joined together to develop keto meal plans that are useful, suitable, economically-efficient, and satisfying.

    Since their grand opening in early 2019, 1000's of people have already remodeled their body and health with the benefits a proper keto meal plan diet can give.

    Speaking of benefits: clicking this link, you'll discover eight scientifically-proven ones provided by the keto meal plan diet.

    ReplyDelete

Post a Comment

Popular posts from this blog

Mashup Integration in Salesforce

During preparation for TA certification exam, I came across a word Mashup for integration a number of times. I explored about it and below is description:- Mashups, sometimes called “composites,” are hybrid applications created by bringing together several data sources and Web services to create a new application or to add value to an existing application. Behind the scenes, mashups may require different levels of integration, depending on whether the mashed-up data is only meant to be viewed, whether it can be edited, and whether data is actually transferred between systems. There are three types of mashup:- Client Presentation Mashup - In this type of mashup the integration takes place strictly at the visual level. It makes possible to view data from two or more applications in a browser,  without actually moving data between the applications. Example - Google Maps. Client Service Mashup - As mashups evolve, they are becoming more complex and sophisticated. Client ser

Grant Access Using Hierarchies

Problem There is a custom object say 'XYZ' and OWD for this is set to ' Private ', which means record of this can be seen by only owner and users above in role-hierarchy and territory. However, to share this with other user, we can manually share it. The problem is that I don't want other users, who are above in role-hierarchy and territory of the user with whom record has shared, can see it. Solution We can un-check ' Grant Access Using Hierarchies ' check box for object 'XYZ' on 'Sharing Settings' page. We can go to Setup >> Security Controls >> Sharing Settings and click on ' Edit ' button. On the edit page, we can un-check ' Grant Access Using Hierarchies ' for required object.  Major uses of 'Grant Access Using Hierarchies' are:- If you disable the Grant Access Using Hierarchies option, sharing with a role or territory and subordinates only shares with the users directly asso

ReadOnly Annotation

Use Case:- You want to show up to 10000 record on single VF page. Count of records based upon some business requirement where number of records could go up to 1 million. So far, it was not possible to achieve above in VF page because of following limitations:- The maximum number of items in a collection that can be iterated over using components such as <apex:dataTable> , <apex:dataList> , and <apex:repeat> is 1000. Normally, queries for a single Visualforce page request may not retrieve more than 50,000 rows. Solution:- But with API version 23.0 , salesforce has introduced ' ReadOnly ' annotation which has following functionality/restriction:- The @ReadOnly annotation allows you to perform unrestricted queries against the Force.comdatabase. All other limits still apply. It's important to note that this annotation, while removing the limit of the number of returned rows for a request, blocks you from performing the following operations