SalesforceLabs / ActionPlansV4

Action Plans encapsulates best practices into reusable task templates.
https://salesforcelabs.github.io/ActionPlansV4/
BSD 3-Clause "New" or "Revised" License
23 stars 11 forks source link

Reopening a Controlling Task causes Dependent Tasks to be deleted #169

Open BiglyB opened 10 months ago

BiglyB commented 10 months ago

Describe the bug If a Controlling Task is reopened after it has triggered the creation of Dependent Tasks, then any update to the Dependent Tasks while the Controlling Task is open causes Action Plans to DELETE the dependent task that was just edited

To Reproduce Steps to reproduce the behavior:

  1. Create an Action Plan that has at least 1 dependent Task
  2. Complete the Controlling Task so that the Dependent Task is created
  3. Reopen the Controlling Task
  4. Change the Status of the Dependent Task
  5. Refresh the record page to observe that the Dependent Task has now been deleted.

Expected behavior The Dependent Task should accept the edit and no records should be deleted.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context