Template Versioning - How to Update Cloning Process Builders

Template Versioning introduces new template Ids, called Addressable Ids, that maintain the mapping between your automations and templates. When an Addressable Id is used in an automation, it will always point to the active template version. This article walks through how to update template references in cloning Process Builders from Salesforce Ids to Addressable Ids. 

Below are the high-level steps:

  1. Identify the Salesforce Id for Your Template
  2. Identify the Addressable Id for Your Template
  3. Replace the Salesforce Id with the Addressable Id in Your Process Builder
  4. Save & Activate Your Process Builder

Step 1: Identify the Salesforce Id for Your Template

  1. From Setup, navigate to:
    • Lightning: Process Automation | Process Builder 
    • Classic: Create | Workflows & Approvals | Process Builder
  2. Click on your cloning Flow to open it (e.g. "Create Project").
  3. Inside the automation, open the TaskRay apex action. It will be one of the following actions:
    • Clone a TaskRay Project
    • Clone a TaskRay Project - Async
  4. Record the ID in the Template Project Salesforce Id field (e.g. "a023t00000iPALO").
    Note: This field may be called the Template Project Id. 

 

Step 2: Identify the Addressable Id for Your Template

  1. In a new tab, open Reports.
  2. Under Folders, select All Folders | TaskRay Template Reports
  3. Open the Template Versioning Setup 1 report. 
  4. Using the Template Project Salesforce Id you recorded above in Step 1, find and record the corresponding Addressable Id (e.g. "PT_RVSNBY1C5.PJ_sBZKF30r8") 
    Tip! Use Search to quickly find the Salesforce Project Id in the report.
    template-addressable-id.png
    Note: If your template has multiple Task Groups, a count of the Task Groups will appear at the end of the Id in parenthesis e.g. "(3)" Do NOT record this; it is not a part of the Addressable Id.

 

Step 3: Replace the Salesforce Id with the Addressable Id in Your automation

  1. Go back to your Process Builder from Step 1.
  2. Remove the Template Project Salesforce Id field. 
    Tip! If you cannot remove the Template Project Id field, you may need to remove and re-add the apex action. If so, it's recommended to document all inputs before removing the action. 
  3. Add the Template Project Addressable Id field.
  4. Populate the field with the Addressable Id you recorded above (e.g. "PT_RVSNBY1C5.PJ_sBZKF30r8"). pb-id.gif
  5. Click Save.

 

Step 4: Save & Activate Your Process Builder

That's it! Save your changes and activate your Process Builder. Once activated, return to Setup Template Versioning utility in Tools and Settings to complete the setup process.

 

 

 

 

Was this article helpful?

0 out of 1 found this helpful

Have more questions? Submit a request