You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Apologies for the delay, I was out on paternity leave. I think I may have found the reason why some closed tasks are creating tasks for other Accounts.
If I query the LabsActionPlans__APTask__c object I am seeing some inconsistencies. In the LabsActionPlans__Action_Plan__c field I see the correct Id for the Action Plan. However, in the LabsActionPlans__Controller__c field I see Ids that are related to other Action Plans that are not for the current Action Plan. It seems this field is used for dependent tasks that need to be created so that aligns with what I am seeing. See below:
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.
The text was updated successfully, but these errors were encountered: