-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Describe the bug
Occasionally I have users tell me they have been assigned tasks from another user on the team and before their controlling tasks have been completed. This occurs when the first user is working with their own tasks and closing tasks. I have a feeling this is related to the action plan templates feature and the task dependencies. It seems like it is selecting controlling tasks that are not related to the action plan the user is working on. I have attached some screenshots below.
Screenshots
As you can see below, the action plan has 0 completed tasks. However, the 3 tasks with controlling tasks have been created, all by the 1st user that was working on their own task lists.

Here is the task the first user marked completed which triggers the next task "Check-in call". It was closed on 11/2/2023 at 10:21AM.

This task is the one that was created by the prior user and was created at the exact same time as their prior task was closed:

-
Action Plans Version (e.g. 4.0.1) (See Setup > Installed Packages)
-
We are on Version 4.2.1
-
Salesforce UI
-
Lightning Experience
-
Org Edition
-
Enterprise
Additional context
I haven't been able to run any advanced debugging logs yet to try and pinpoint the issue exactly, but this is defintely happening for multiple users and action plans. It seems to be an issue with the code that creates an action plan task when dependent tasks are marked completed.