developer certification -business logic
TRANSCRIPT
-
8/12/2019 Developer Certification -Business Logic
1/16
-
8/12/2019 Developer Certification -Business Logic
2/16
2
My Study
Suggested Web Courses from latestStudy Guide
DeveloperSummaryX.pdf Good Summary
Online bookForce.com Developer Certification Handbook (DEV401) http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-
pape
r/ch08lvl1sec02
Good questions and answers (others arent always correct) A comprehensive handbook to guide Force.com developers through important
fundamentals and prepare them for the DEV401 exam.
Supplemental Some sections of Force.com Fundamentals Workbook
Me Passed Dev Cert 2 weeks ago.
Have 6 months SFDC experience
Admin and Service Certified
1 recent Service Cloud Project, 1 Cloud Express
http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02http://my.safaribooksonline.com/book/-/9781849683487/exam-guide-and-practice-paper/ch08lvl1sec02 -
8/12/2019 Developer Certification -Business Logic
3/16
3
Contents
Formulas, Validation rules and Workflow RulesScenarios for the Force.com features
Debugging and monitoring
Approval ProcessesExtending business logic
-
8/12/2019 Developer Certification -Business Logic
4/16
4
Formulas
Custom Formula Fields E.g. Account Name + Account Number
Types
Cross Object Formula fields
Rollup Summary fields
COUNT
SUM
MIN
MAX
-
8/12/2019 Developer Certification -Business Logic
5/16
5
Formula Field Sample Question
Using a formula field how would a developer calculatethe number of days since a record has been created?The CreatedDate field is a DateTime type field.
a. TODAY() DATEVALUE(CreatedDate)b. NOW() DATEVALUE(CreatedDate)
c. TODAY() CreatedDate
d. CreatedDate TODAY()
(Answer is A)
-
8/12/2019 Developer Certification -Business Logic
6/16
6
Validation Rules
Preserve Data Quality
Why Used
When Executed
-
8/12/2019 Developer Certification -Business Logic
7/167
Workflow Rules
1. Evaluation Criteria (When Record isCreated/Updated)
2. Rule Criteria (Filter records)
Criteria Formula
3. Actions (Do something)
1. Can Be Time-dependent
-
8/12/2019 Developer Certification -Business Logic
8/168
Functions
-
8/12/2019 Developer Certification -Business Logic
9/169
Approval Process
Refs
- Force.Com Fundamentals Workbook
- Salesforce Dev401 Slides- Screenshots
-
8/12/2019 Developer Certification -Business Logic
10/16
10
Workflow Actions - Sample Question
When a record has been rejected by all approvers,Salesforce executes all final rejection actions. Which ofthe following is NOT a possible final rejection action?
a. Lock the record from being editedb. Send an e-mail to a designated recipient
c. Delete the record
d. Update a field on the record
(Answer is D)
-
8/12/2019 Developer Certification -Business Logic
11/16
11
Multiple Approvers - Sample Question
An organization has created a custom object to manage all jobpositions. Using an approval process they have configured theapplication to have the first step of the process require approvalsfrom three different hiring managers.
Select the two (2) possible approval choices based on multipleapprovers for an approval step.
a. Approve or reject based on the first response
b. Require unanimous approval from all selected approvers
c. Require majority approval from all selected approvers
d. Require x out of y approval from all selected approvers
(Answer is A and B)
-
8/12/2019 Developer Certification -Business Logic
12/16
12
Comparison with Workflow Rules
Workflow Rules Approval Processes
Are triggered upon save. Are triggered only when a user clicks Submit for
Approval.
Consist of one set of criteria and actions Consist of Multiple Steps.
Can be modified and deleted. Have some attributes that cant be modified (processesmust be deactivated before they can be deleted).
Have entry criteria, step criteria, and step actions.
Have initial submission actions, rejection and approval
actions, and actions for each step.
-
8/12/2019 Developer Certification -Business Logic
13/16
13
Debugging
Setup Audit TrailDebug Log
Developer Console
-
8/12/2019 Developer Certification -Business Logic
14/16
14
Extending Business Logic
Apex
An organization needs the ability to view the value of the opportunity stage fieldon an opportunity product related list. Please choose the declarative method offulfilling the requirement.
a. Create an Apex method to replicate the value on the child object, and set the field levelsecurity to read-only and expose the new field on the opportunity product related list
b. Create a cross object formula field on the opportunity product object and expose the formulafield on the opportunity product related list
c. Create a validation rule on the opportunity product objectd. Create a new picklist field called stage on the opportunity product object, and expose the field
on the opportunity product related list
(Answer is B)
-
8/12/2019 Developer Certification -Business Logic
15/16
15
Apex Sample Question
An organization has decided to manage hiring and positions. A customobject has been created to manage all new job positions. All positionsbelow $50,000 must be approved by the hiring manager, and positionsabove $50,000 must be approved by the hiring manager and the regionalhiring manager. What would a developer use to declaratively fulfil therequirement?
a. Apex code, to check the position's salary and assign the appropriate resource for
approval
b. Approval process
c. Validation rules
d. Dynamic routing approval
(Answer is B)
-
8/12/2019 Developer Certification -Business Logic
16/16
16
Dynamic Routing Approval