Workflow Rules on Custom Objects: Automatic Deletion | Salesforce Exam ADX-201

Workflow Rules on Custom Objects: Automatic Deletion

Prev Question Next Question

Question

Workflow rules on custom objects are automatically deleted if the custom object is deleted.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A.

The correct answer is A. True.

When a custom object is deleted in Salesforce, any associated workflow rules on that object are also automatically deleted. This is because workflow rules are tightly bound to the object they are created on and can't be transferred to another object. As a result, if the object is deleted, Salesforce recognizes that the workflow rules associated with it can no longer be used and deletes them as well.

It's important to note that this applies only to custom objects, not to standard objects such as Accounts, Contacts, or Opportunities. Workflow rules created on standard objects won't be deleted if the object itself is deleted.

Additionally, when deleting a custom object, Salesforce will also prompt you to delete any associated data, such as records, fields, and page layouts, which can't be undone. Therefore, it's crucial to carefully consider the impact of deleting a custom object and ensure that you've backed up any important data before proceeding with the deletion.

In summary, workflow rules on custom objects are automatically deleted if the custom object is deleted, as they are tightly bound to the object they are created on and can't be transferred to another object.