Open irinaIvanova97 opened 1 year ago
Hello,
i believe i got to the bottom of this issue with workbench. You might find that you originally created an AP and deleted rows of tasks out (potentially in the classic UI - as i did) and the dependencies didnt adjust as they should have. If you use workbench and look at the action plan template using LabsActionPlansAction_Plan_Templatec as the filter to the template, more than likely you will see that the LabsActionPlansDependentc may not be correct!
You can then use workbench to fix this issue by updating the record.
This worked for me, hope it helps anyone with the same issue
Describe the bug When creating a new action plan from template with the apex action "Create Action Plan From Template", the tasks related to the record are created all at once even though there is a dependency defined in the template.
To Reproduce Steps to reproduce the behavior:
Expected behavior The record to have only the first task, since the second one is dependent on the first and should be generated only after the first one is completed.
Screenshots
Environment (please complete the following information):