-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
- Go go Action Plan Templates
- Create new template
- Populate name
- Create new task with sample subjects and days after "1", priority normal, send email true, reminder true
- Create a second task with sample subjects and days after "1", priority normal, send email true, reminder true. On the controlling task select the task created in the previous step.
- Save
- Create new record-triggered flow on lead creation.
- Call the apex action "Create Action Plan From Template" with the current record id and template name passed
- Activate flow
- Create lead record
- Lead has 2 task created and assigned to the record
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.
Environment (please complete the following information):
- OS: Windows
- Browser: Chrome
- Action Plans Version: 4.3
- Salesforce UI: Lightning Experience
- Org Edition: Enterprise
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

