Book Image

Salesforce Essentials for Administrators

By : Mohit Shrivatsava
Book Image

Salesforce Essentials for Administrators

By: Mohit Shrivatsava

Overview of this book

Table of Contents (14 chapters)
Salesforce Essentials for Administrators
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Problem statement 5


As an administrator, you have been asked to debug time-based workflows. They are not firing as expected. The challenge in front of you is to debug and figure out the root cause of the issue.

Debugging steps

The following steps will help debug this problem:

  1. The first check is to repeat the same transaction (the same workflow) on the record in a sandbox instance to satisfy the criteria of the time-based workflow. Observe the criteria, as the records might not be satisfying the workflow criteria.

  2. Monitor the time-based workflow queue. The navigation path is Setup | Monitoring | Time-Based Workflow.

  3. You can reduce the time frame temporarily for an hour to observe the results to figure out whether the time-based rule is firing.

  4. The last resort will be asking your developer to look at the debug logs to find out whether the time-based rule is triggering.

    The following screenshot shows the time-based workflow monitoring queue: