191k views
4 votes
While using Apex Tasks, when are you notified in case of any Script code errors?

(a) Once the deployment is executed
(b) When saving the Apex Task
(c) After clicking on the "Validate my Script" button

1 Answer

2 votes

Final answer:

You are notified of script code errors in Apex Tasks after clicking the "Validate my Script" button, providing immediate feedback before deployment.

Step-by-step explanation:

When using Apex Tasks, you are notified of any Script code errors after clicking on the "Validate my Script" button. This button allows you to check the script for errors before deployment. It is crucial to utilize this feature, as it saves time and resources by catching mistakes early in the development process. Although saving the Apex Task or executing the deployment might reveal some errors, the explicit validation step is designed for this purpose and gives immediate feedback on the code's correctness.

User Shiramy
by
8.0k points