Book Image

Learning Force.com Application Development

By : Chamil Madusanka
Book Image

Learning Force.com Application Development

By: Chamil Madusanka

Overview of this book

Table of Contents (21 chapters)
Learning Force.com Application Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Automating the business process using approval processes


Think about the real-world scenario of a leave approval process. The employee wants to request a leave for a particular day or date range and requests it from the manager. After the manager has approved, the HR will approve the leave. These multilevel approvals are needed to be implemented in real-world applications.

The Force.com platform provides another in-built business logic tool called Approval Processes, which gives us the ability to implement a chain of actions to create a single business process. An approval process can be built with single or multiple step processes that require one or more designated approvers to approve or reject the record. An approval process contains the following features:

  • It tracks the progress of the approval automatically

  • You can define multiple steps for the approval process

  • You can define the approval and rejection actions for each step of the process

  • You can define the approvers for each approval step...