A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity's Probability is greater than 50%. What is the optimal way to automate this?
Answer: B Since the process builder is going to depreciate, even salesforce recommends flow over it and specifically mentions flow can do all things that a process builder can do even more than it.
Ans is B. In flow we can use action and related record to create related record. https://admin.salesforce.com/blog/2023/what-is-a-record-triggered-flow#:~:text=Actions%20and%20Related%20Records%20(aka,created%20or%20updated%20in%20Salesforce.
Can a flow generate Opportunity Id on creation? I would rather go with A not sure what reveal answer going to provide. It would be great reveal answer would give proper explanation
both A and B are good answers. A being more specific use Apex trigger on Opportunity when probability becomes greater than 50%. B is more general, if B is build a record triggered flow on Opportunity then B will be the ans. So correct ans is A.
I think it could be A but also D, and as in salesforce is one of best practices "use rather build-in automatization than code" D would be probably more correct.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
sajjankrgupta
Highly Voted 4 years, 5 months agoPricha
3 years, 10 months agoASKaranko
3 years, 1 month agoAjayMehta
Highly Voted 3 years, 1 month agobeardAnt
Most Recent 8 months, 2 weeks agoAnjindal
1 year agoau_
1 year, 9 months agoVVeguru
1 year, 10 months agoau_
1 year, 9 months agoram12313
2 years, 2 months agoTing21
2 years, 2 months agosf2022
2 years, 6 months agoRonin192
2 years, 7 months agoCaiXiDan
2 years, 11 months agopaster0
3 years, 4 months agoparishk
3 years, 4 months agodrwebber
3 years, 6 months agoncore
3 years, 6 months agoYeseniaFiorella
3 years, 8 months agoSantoshtpd
3 years, 10 months ago