ForceLearn

Create New opportunity based on account criteria

Sharing is caring!

Hi Guys,

Hope you enjoyed Diwali 🙂

Today I came here with a scenario which i faced recently

Business case : If Account rating is “Hot”, need to create new opportunity. So we need to Create New opportunity based on account criteria

we can achieve this with process builder and trigger. Here I try to explained you in way on trigger

Here it is test class to code coverage

Test Class

No tags for this post.

forcelearn

Like Us for FB Page

Trailhead Profile

 

Subscribe Us

 Subscribing I accept the privacy rules of this site