function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aladdin USAladdin US 

workflows are available in which editions

Best Answer chosen by Aladdin US
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Workflows are available in Enterprise, Performance, Unlimited, and Developer Editions.

Workflows for Professional Edtion are available as a paid add-on though (needs to be requested with Support). And it is available as an add-on from the AppExchange: Have a look at the Workflow for Professional Edition App on the AppExchange.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas

All Answers

Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Workflows are available in Enterprise, Performance, Unlimited, and Developer Editions.

Workflows for Professional Edtion are available as a paid add-on though (needs to be requested with Support). And it is available as an add-on from the AppExchange: Have a look at the Workflow for Professional Edition App on the AppExchange.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
This was selected as the best answer
Aladdin USAladdin US
Hi Anas, 
 
                   You always helps me. Thank you so much.

Thank You.
Aladdin USAladdin US
Hi Anas, 
·        
                  What is test coverage code % for the classes and triggers and what is the test method syntax

Thanks.
                
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

To deploy to production at-least 75% code coverage is required, and all those tests must pass. In addition, each trigger must have some coverage. Even though code coverage is a requirement for deployment, don’t write tests only to meet this requirement. Make sure to test the common use cases in your app, including positive and negative test cases, and bulk and single-record processing.

Below is the syntax:
@isTest 
public class TriggerTestClass 
{
    static testMethod void testMethod1() 
 {
  // Perform DML here only
 
        }
}

Please refer to the below links which might help you further with the above requirement.

https://trailhead.salesforce.com/en/content/learn/modules/apex_testing/apex_testing_intro

http://www.sfdcpoint.com/salesforce/test-class-with-example-salesforce/

http://amitsalesforce.blogspot.com/2015/06/best-practice-for-test-classes-sample.html

https://webkul.com/blog/test-classes-in-apex-salesforce/

I hope it helps you!

Regards,
Khan Anas
Aladdin USAladdin US
Hi,

         But i heard from someone that code coverage is 90%. ( is it for trigger or class )

Thanks.
Khan AnasKhan Anas (Salesforce Developers) 
No. It is 75%. But we should aim for 100% code coverage.

If you have enough code coverage across the whole code, for triggers you need a minimum of 1%. Recommended is to have 75%.

Regards,
Khan Anas
manoj nagireddy 3manoj nagireddy 3
Hi Aladdin US,

WORKFLOWS:
Available in: Enterprise, Performance, Unlimited, and Developer Editions
Available in: Lightning Experience and Salesforce Classic 
User-added image

NOTE:
  • All listed features are available in DE.
As a partner, workflows within your application run in a Professional Edition org. However, customers can’t create their own workflows. They must purchase the feature directly from Salesforce.
Thanks,
Manoj