Salesforce Exam ADX-201: Essentials for New Lightning Experience Administrators

You Can't Package Workflow Rules with Time Triggers.

Prev Question Next Question

Question

You can't package workflow rules with time triggers.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A.

The statement is true: you cannot package workflow rules with time triggers.

When creating workflow rules in Salesforce, you have the option to specify time-based triggers, such as triggering an action 7 days after a record is created. However, when you create a package to distribute your customizations to other Salesforce orgs, time-based triggers cannot be included.

The reason for this limitation is that time-based triggers depend on a special queue called the Time-Based Workflow queue, which is unique to each Salesforce org. When a record meets the criteria for a time-based trigger, it is added to this queue, and the action is executed when the specified time elapses.

Since the Time-Based Workflow queue is specific to each org, it cannot be packaged and distributed to other orgs. Therefore, any time-based triggers that you create in your org will not be included in a package that you create for distribution.

To work around this limitation, you can include workflow rules without time triggers in your package, and then manually recreate the time-based triggers in the target org. Alternatively, you can use other automation tools such as Process Builder or Flow to achieve similar functionality without relying on time-based triggers.