Salesforce Interview questions with answers Part 4

Salesforce Interview questions with answers Part 4

1. What is on-Demand process?

On-demand process is nothing but “pay for what you use” policy.
We can subscribe to what we want and pay-as-you-go model.

2. Can we create 2 opportunities while the Lead conversion?

Yes using Apex code.

3. User1 is associated with profile “P”. If i create a permission set and assign it to User1, now will the Permission sets which we assigned overrides the existing profile “P”.

No. Permission set is always used for extending the profile permission. It’s not used to override the Profile permissions.

4. Is there is any alternative for the “ActionPoller”?

Using SetTimeout in Javascript and calling the apex method using apex:actionFunction.

5. While inserting a new record with Before Insert. What would be the values in “Trigger.new” and “Trigger.newmap”?

In trigger.New, new record values will be there.
Trigger.newMap will be empty.

Leave a Reply