Automating the business process using workflows
Workflow is a strong feature of the Force.com platform because it is used to automate business processes. This is the business logic engine of the Force.com platform that allows us to automate ending e-mail alerts, assigning tasks, updating a field value based on the defined rules. Workflows are associated with the particular objects. When the associated object's record is inserted or updated, and meets the conditions of the workflow rule, the platform automatically executes the actions defined in the rule. This is all about the automated actions in the Force.com platform and executes them when the right time/correct statuses are coming up. The following diagram presents the steps of a workflow.
Each workflow rule consists of the following elements:
Criteria that cause the workflow rules to run.
Immediate actions that execute as soon as the record meets the criteria. For example, the Force.com platform can automatically send an e-mail that notifies...