Cloning Projects and Phases with Record-Triggered FlowsLearn how to clone projects via Record-Triggered Flows26-Jan-2024Knowledge
InformationTitleCloning Projects and Phases with Record-Triggered FlowsURL NameCloning-Projects-and-Phases-with-Record-Triggered-FlowsBodyAbout Cloning a project in your project management software can be a great way to save time and effort when starting a new project.This can be particularly useful when working on similar projects or when using a consistent project structure.Projects can be cloned: Manually by users, via a 'Clone Project' button on the Opportunity or Project records (please see Enabling Project Cloning for more information)With record-triggered flows (please follow the instructions below) Project Cloning prerequisites Project, Phase and Participant cloning features require the separate Precursive Template package to be installed on your org. If this package is not installed, please reach out to the Precursive Support team for a link to the most-recent version before attempting to follow the rest of this article. How to Clone Projects/Phases with Record-Triggered Flows To clone a Project: Navigate to the record-trigger flow that you want to clone projects from.Create an Action element of Apex Action type.Use the 'PrecursiveCloneProjectInvocableV3' invocable methodDefine the Source Project ID - that is the Salesforce Id of the project template (Create a Project Template) or of the project you want to be cloned with this flow. [This parameter is required]Toggle the relevant buttons to define what records you would like to include when cloning this template. Please refer to the list of parameters you can find below for more information. To clone a Phase: Toggle 'Target Project Id' - if toggled, this flow doesn't create a new project but uses an existing one (defined by the Source Project Id) as target for cloning records (Activity categories, participants etc) into a new Phase Parameters Copy Activity Categories - that allows you to automatically copy all the Activity Categories added to the Phases of the sources Project, into the Phases of the cloned project. Activity Categories are copied by default - un-toggle this option if you don't want to include them. Copy Assignment - that allows you to copy the Resources assigned to the Participant records of the Phases of the source Project. When a Resource is assigned to work on a Phase on the source Project, they are assigned to work on the same Role under the cloned Phase. If un-toggled, that Role is added as a Resource Request to the cloned Phase. Assignments are copied by default - un-toggle this option if you don't want to include them. Copy Bookings - that allows you to copy all the Bookings created for the Participants in the Phases of the source Project. Bookings are copied by default - un-toggle this option if you don't want to include them. Copy Expense Categories - that allows you to copy all the Expense Categories from the Phases of the source Project. Expense Categories are copied by default - un-toggle this option if you don't want to include them.Copy Participants - that allows you to copy all the Participant from the Phases of the source Project. Unless the 'Copy Assignment' parameter is also toggled, this copies them as Resource Request with no Bookings (toggle 'Copy Bookings' to copy Participants as Resource Requests with Bookings). Participants are copied by default - un-toggle this option if you don't want to include them.New Project Category - Set project category for cloned project. This parameter is optional. When not set, the project category is left empty or copied from the source object if the Project Category field is added to the 'Copy Fields' field set on the Precursive Projects object. Please see the 'Configure your Cloning Field Sets' section of this article on how to Configure Precursive Projects Cloning Functionality. New Project Name - defines the Name of the cloned Project. If not defined, the cloned Project is given the same name as the source project plus the ‘cloned’ suffix. Start Date - defines the start date of the cloned Project. If not defined, the cloned project has the same Start Date as the source project. Related Resources Enabling Project Cloning
Was this article helpful?Choose a general reason-- Choose a general reason --FeedbackUpload FilesUpload FilesOr drop filesSubmit