1. Interview Questions:
26/09/2013—Aptimus—Telephonic
1)What is Time Based workflows?
Ans) Time-Dependent Workflow is a very nice feature out-of-the-box from Salesforce. You can
easily configure it to do action such as: create task, send email alert, field update and send
outbound message. The actions will only trigger when a certain date or hour hit as it is
configured.
Actions for Time-Dependent Workflow is exactly the same with Immediate Workflow, and you
can share the same actions between Time-Dependent Workflow with Immediate Workflow,
depend on your business needs, even to combine Time-Dependent and Immediate workflow in
the same workflow rule.
One thing you need to note when create Time-Dependent Workflow is the Evaluation Criteria,
make sure it is set to created or created, and any time it’s edited to subsequently meet
criteria only.Created, and every time it’s edited will NOT allow you to have Time-Dependent
Actions.
I get a request from my user to change a running Time-Dependent Workflow from 7 days before
Birthdate to 14 days before Birthdate. Here is the step:
1. Screenshot existing Time-Dependent Workflow with the actions (for backup purpose)
2. Deactivate the workflow
3. Remove all existing actions in that Time-Dependent Workflow
4. Edit Time-Dependent Workflow and you will be able to modify the day to 7 days
2. 5. Add back all existing actions for that Time-Dependent Workflow
6. Activate the workflow back
Few items to note:
1. All existing data will be NOT trigger again for Time-Dependent workflow, because it
already met the entry criteria earlier. So, if your Entry Criteria is 'Evaluate the rule when a record
is created, and any time it’s edited to subsequently meet criteria', you need to make the record to
'meet' the criteria again:
Update the record NOT to meet the criteria, then update it back to meet the criteria.
Example: if we are using Rule Criteria "Birthdate NOT EQUAL TO null", we need to
make it to null first (make sure to backup first), then populate the original Birthdate back, so it
will meet the criteria again.
2. Monitoring, you can monitor record queue to be triggered for Time-Based Workflow
fromSetup - Administration Setup - Monitoring - Time-Based Workflow. You can select some
criteria to monitor the queue or just leave all to --None-- and hit Search button.
2)Diff B/w Trigger and WorkFlows?
Ans)Workflows Run on Same object on which we have defined, but triggers runs on cross
objects.
Triggers
Work flow rules
Trigger can work across objects.
Workflow Rules will be helpful to update
the same object or master object in custom
master-detail relationships.
Coding is required.
Trigger works before and after some
actions.
Coding is not required.
Workflows work only after some actions.
3)Which Dataloader you are using in your organization?
4)Permission sets?
5)Diff B/w <apex:pageBlockTable> and <apex:DataTable>?
3. 6)WebServices Integration you have done?
7)Migration Tools?
8)Types of criterias in workflows?
9)How many types we can fire a controller?
10)page Layout?
11)orgwidedefaults?
12)How to initiate the request to apex code?
01/02/2014—Capgemini—Face-To-Face
1)What is Trigger?
Ans: A trigger is an Apex script that executes before or after specific data manipulation language
(DML) events occur, such as before object records are inserted into the database, or after records
have been deleted etc…
2)What is workflow?
3)What is webservices?
4)Scenario on OWD i.e when there is two users like u1 and u2. In role hierarchy u1 is above the
u2, then u1 can be able see the u2 data or not? If yes then how we control the access of u2 data
to u1 user?
Ref below link for security controls:
http://jayantjindal.blogspot.in/2011/01/security-and-access-control-in.html
5)what is the difference b/w enterprise wsdl and partner wsdl?
6)How we generate wsdl from our apex class?
7)what are the workflow evaluation criteria?
8)how we can create workflows?
9)what is the use of visualforce components like <Apex:ActionFunction> and
<Apex:ActionSupport> etc..
4. 10)Why you can go for salesforce for your crm application?
11)What is salesforce?
12)what is cloud computing?
13)what code optimization rules you follow in your classes?
14)what coding standards you follow while developing your classes?
15)How you can bulkify your trigger?
11/02/2014—Deloitte—Telephonic
1)crm flow?
2)how you can define soap body?
3)soap iterator?
4)challenges in your development?
5)work flows?
6)stateful interface in batch apex?
7)comparable interface?
8)batch apex?
9)approval process?
10)governor limits?
11)view state capability?
Ans)135kb
12)best practices for apex classes?
13)Tell me about collections you have used?