CPARs Configuration Guide

Prev Next

Change Summary

Release Date

Release Version

Change Description

Link

September 25th, 2025

2025.3

Clone and Activate custom Flow with edited Email Templates

Clone Flow

September 25th, 2025

2025.3

Copy Flow API Name into CPARS Email Setting of ICI Configuration Page

Configure Cloned Flow API Name in CPARS Email Setting

Overview

TechnoMile’s CPARs feature enables you to upload and extract all the information present in a CPARs PDF file. It also has an Review and Approval process.

This document is a step-by-step guide on how you can configure the CPARs feature in your organization.

Audience

  • Salesforce Administrators

  • IT Support

Prerequisites

  • Ensure that Contracts Suite - Sales Cloud Edition is already installed and configured. The version of this package must be 2025.3 or higher.

Assign Permission Set

  1. Click the gear icon and select Setup.

  2. Go to Permission Sets using Setup search.

  3. Scroll down and click to open ICI Full Access.

  4. Click Manage Assignments.

  5. Click Add Assignment.
    mceclip4.png

  6. Select a User and click Next.
    mceclip7.png

  7. Click Assign.
    mceclip6.pngPermission Set is assigned to the selected User.

  8. Click Done.
    mceclip0.png

Configure Custom Metadata Types

  1. Go to Custom Metadata Types using Setup search.

  2. Click Manage Records against OCR Details.mceclip11.png

  3. Here, you can either click Edit against an existing OCR Details record or click New to create a new OCR Details record.
    mceclip1.png

  4. Enter Callback URL, Client Id, OCR Remote Site URL, Username, Password, Auth Endpoint, and Client Secret and click Save.

    IMPORTANT

    Ensure that you retrieve all the above listed OCR Details from TechnoMile Support.

    oath.png

  5. Similarly, click Manage Records against OCR Form Type.
    mceclip1.png

  6. Click New to create a Form Type.
    mceclip0.png

  7. Enter Label, OCR Form Type Name, and Form Label and Form Value as cpars, select OCR Details as OCR Details, and click Save.
    mceclip1.pngCPARs metadata is created.

Edit Remote Site Settings

  1. Go to Remote Site Settings using Setup search.

  2. Click Edit against OCR_Azure_Services.

  3. Enter Remote Site URL, ensure that the Active checkbox is selected, and click Save.

    IMPORTANT

    Ensure that you retrieve the Remote Site URL from TechnoMile Support.

    mceclip1.png

Configure Trusted URLs

  1. Go to Trusted URLs using Setup search.

  2. Click New Trusted URL.
    New URL.png

  3. Enter API Name and URL, select the Active and all the CSP Directives checkboxes, and click Save.

    IMPORTANT

    Ensure that you retrieve the URL from TechnoMile Support.

    trusted URLs.jpg

    Trusted URL is created.

Configure Custom Settings

Deactivate GRC Triggers

NOTE

Perform these steps ONLY if you do not wish to use the CPARs Triggers that are available in this package, by default.

  1. Go to Custom Settings using Setup search.

  2. Click Manage against GRC Trigger.
    mceclip0.png

  3. Click New.
    mceclip5.png

  4. Enter Name as TM_CPAR_UpdateTrigger, select the Deactivate checkbox, and click Save.
    mceclip0.png

  5. Similarly, create another Trigger to deactivate it with Name as TM_CPAR_TeamMemberTrigger.

Our Contract Record Page

  1. Go to Our Contracts using App Launcher.
    1st.jpg

  2. Open an Our Contract record.
    2nd.png

  3. Under Related List Quick Links, click CPAR.
    CPAR change1.pngThe Import CPARs button is available.
    CPAR change2.png

Edit CPAR Record Page

  1. Go to a CPAR record page using App Launcher.

  2. Click the gear icon and select Edit Page.
    mceclip1.pngLightning App Builder opens.

  3. Drag-and-drop TM_CPAR_ReviewForm onto the Workflow Summary tab and click Save.

  4. Click Assign as Org Default.
    mceclip13.png

  5. Choose Desktop and click Next.

  6. Click Save.

Using Filters for Submit for Approval Button

  1. Click Submit for Approval and then click Record > Status Equal Review Completed.mceclip1.png

  2. Select Value as Draft and click Done.mceclip2.png

  3. Click Done again.mceclip3.png

  4. Click Save.

  5. Click the Back arrow icon.

    mceclip6.pngCPAR record page opens with the Workflow Summary tab and Submit for Approval button on it.

    mceclip7.png

Permission Sets for CPAR Field Updates

The following Permission Sets have been updated to include the necessary permissions for the CPARs field updates:

Permission Set

Access to New CPAR Fields

Contracts Full Access

Read and Edit

Contracts and Subcontracts Read Only

Read

Subcontracts Full Access

Read

ICI Full Access

Read and Edit

Contracts Suite Admin

Read and Edit

Add Picklist Values

Picklist values are not auto-upgraded. Add the Addendum value to the Evaluation Type picklist.

To add a picklist value:

  1. In your Salesforce organization, click the gear icon Gear icon.png and select Setup.

  2. Navigate to Object Manager > CPAR > Fields & Relationships.

  3. Use the search box to locate and open the field label Evaluation Type.

    SF CPAR Picklist.png

  4. Scroll down to the Values section and click New.
    The Evaluation Type page opens.

  5. Enter Addendum in the text area and click Save.
    SF CPAR evaluation type.pngThe new picklist value is added.
    SF CPAR addendum.png

Configure CPAR Page Layout

Add New Fields

To add new fields:

  1. In your Salesforce organization, click the gear icon Gear icon.png and select Setup.

  2. Navigate to Object Manager > CPAR > Page Layouts > CPAR Layout.

  3. Drag-and-drop Workflow Type and CPAR Issue Date fields into the Information section.

    CPAR issue date.png

  4. Hover over the added Workflow Type field and click the Properties icon.

    CPAR properties icon.png

  5. In the Field Properties window, enable the Required checkbox and click OK.
    CPAR workflow type dilog.png

  6. Similarly, hover over the CPAR Issue Date field and click its Properties icon.

  7. In the Field Properties window, enable the Required checkbox and click OK.

  8. Scroll down to the Contract Details section, hover over the Evaluation Type field and click its Properties icon.

  9. In the Field Properties window, enable the Required checkbox and click OK.

Enable CPAR Self-Eval Notification

The CPAR Self-Eval Notification feature allows you to control whether a user receives email notifications related to CPAR self-evaluations. To enable this feature, navigate to the Contract Suite Configure page and enable the CPAR Self-Eval Notification checkbox, shown in the image below.

self eval notification.png

Configure CPAR Record Page

To generate the self evaluation form add a button on the CPAR record page.

Add a Generate Self-Eval Form Button

To add a generate self-eval form button to CPAR record page:

  1. In your Salesforce organization, open App Launcher  App launcher icon.png.

  2. Use the search field to find and open CPAR.

  3. Select a CPAR record to which you want to add a generate self-eval form button.

  4. Click the gear icon Gear icon.png and select Edit Page.
    Lightning App Builder page appears.

  5. In the Lightning App Builder, select the highlights panel and click Add Action.
    The add actions dialog appears.
    Add action dilog.png

  6. In the add actions dialog, perform the following steps:

    1. In the Actions filed, select Generate Self-Eval Form.

    2. Click Add Filter.

    3. Add a filter to ensure the button is visible only when the record's status is Review Completed.
      Specify the filter criteria as below:

      • Filter Type: Record Field

      • Field: Status

      • Operator: Equal

      • Value: Review Completed
        CPAR filter dilog.png

    4. Click Done.

Configure CPAR Flows

This section outlines the steps involved in scheduling and activating CPAR Flows.

The following CPAR Flows can be scheduled based on user requirements:

  • CPAR Deadline reminder to CM and Reviewers (Scheduled)

  • CPAR Self-Eval form creation reminder to CM (Scheduled)

The following Flows must be activated:

  • Update POP Owner on change of internal POC

  • Update CPAR Owner on change of internal POC

  • Update POP owner on change of internal POC

  • Update CPAR owner on change of internal POC

Schedule Flows

To schedule Flows:

  1. In your Salesforce organization, click the gear icon Gear icon.png and select Setup.

  2. Use the Quick Find box to search and open Flows.

  3. In the Setup Flows page, find and open the flow you wish to schedule.
    Flow Builder page appears.

  4. Click Edit.
    CPAR flow1.png

  5. Under Set a Schedule, set the Start Date, Start Time, and Frequency as required.

  6. Click Save As New Version.
    A Save As dialog appears.

  7. Specify the details and click Save.

  8. Click Activate.

Activate Flows

To activate Flows:

  1. In your Salesforce organization, click the gear icon Gear icon.png and select Setup.

  2. Use the Quick Find box to search and open Flows.

  3. In the Setup Flows page, find and open the flow you wish to activate.
    Flow Builder page appears.

  4. Click Activate.

    NOTE

    If the Activate button is disabled, click Save As New Version to enable it.

Clone Flow

IMPORTANT NOTE

The steps in this topic and the next that are related to a cloned flow are to be performed only if you wish to customize the email templates within the TM_ConfigureDynamicTemplate out-of-the-box flow. You can choose to customize either or both of the following two email templates:

  • CPAR Review Form Email notification that is triggered after clicking the Send for Review button present on a CPAR record page. This will send the CPAR for review to the selected Reviewers.

  • CPAR Approval Process Submit Template notification that is triggered after clicking the Submit for Approval button present on a CPAR record page. This will send the CPAR for approval to the selected Approvers.

  1. Open the TM_ConfigureDynamicTemplate flow.

  2. Click Save As New Version and select Save As New Flow.

  3. Enter Flow Label and Flow API Name and click Save.
    Cloned flow is created.

  4. Click Activate.
    Cloned flow is activated.

  5. Scroll down to a CPAR-related Email Template within the flow and click to open it.

  6. Scroll down to Body of the template and select View as Plain Text.
    You can also edit the Body of the template here, if required.

  7. Click Save.

Configure Cloned Flow API Name in CPARS Email Setting

  1. Click the gear icon in the tool bar of the cloned flow.

  2. Copy the Flow API Name field value after text TM_TOMA__.

  3. Go to ICI Configuration Page using App Launcher.

  4. Scroll down to CPARS Email Setting and click its gear icon.

  5. Paste the previously copied Flow API Name into the Flow Name field and click Save.
    Note that after clicking Save, Flow Status is automatically updated to Active.

Configure CPAR on Formstack Documents

Prerequisite

Ensure you have Formstack Documents installed.

Downloading CPAR Templates

Before configuring CPAR on Formstack Documents, ensure you download the required templates.

To download CPAR templates:

  1. In your Salesforce organization, click the View profile icon and select Switch to Salesforce Classic.

  2. Find and open the Documents tab.

  3. Select the Folder as FedTom Custom Setting Doc and click Go!
    CPAR template folder.png

  4. Click View to download the following templates:

    • CPAR Self-Eval Form VF (text file)

    • CPAR Self-Eval Form Template Mapping Export (text file)

    • CPAR Self-Eval Form Template (word file)
      CPAR templates.png

  5. Click Switch to Lightening Experience.

Add a CPAR Object

The following procedure summarizes the steps to be followed to add a CPAR object. For detailed information, see Download and Add Templates.

To add a CPAR Object:

  1. In Formstack Documents, go to the Formstack Settings tab.

  2. Click Add a New Object.

  3. Enter the Salesforce Object Name as CPAR and click Save.

Upload CPAR Template

To add a Formstack Document:

  1. In Formstack Documents, go to the Formstack Documents tab.

  2. Click New Document.

  3. Enter the Document Name as CPAR Self-Eval Form Template and click Next.

  4. Select Upload File.

  5. Browse and upload the CPAR Self-Eval Form Template (word file) downloaded during Download CPAR Templates.

Map CPAR Template

The following procedure summarizes the steps to be followed to map CPAR template. For detailed information, see Customize Formstack Mappings.

To map the Formstack Document:

  1. In Formstack Documents, go to the Formstack Mapping tab.

  2. Click New Mapping.

  3. Enter a Mapping Name.

  4. Select the Salesforce Object as CPAR.

  5. Select a Formstack Resource as Document.

  6. Under Select a Document, select the CPAR Self-Eval Form Template added in the previous step.

  7. Click Save and Next.
    A mapping file with a unique Mapping ID is created.

  8. Reopen the mapping file, under Optional Settings enable the Save Document in Files option.

  9. Under Field Mapping, scroll down and click Import.
    An Insert JSON text box appears.

  10. Open the CPAR Self-Eval Form Template Mapping Export (text file) downloaded during Download CPAR Templates and copy-paste the information in the Insert JSON text box.

  11. Click Save.
    The Field Mapping details are auto populated.

Configure Visualforce Page

Create a Visualforce Page

To add a new Visualforce Page:

  1. In your Salesforce organization, click the gear icon Gear icon.png and select Setup.

  2. Use the Quick Find box to search and open Visualforce Pages.

  3. Click New.

    visualforce page.png

  4. Enter the Name as webmergeCPARSelfEvaluationForm.

  5. Open the CPAR Self-Eval Form VF (text file) downloaded during Download CPAR Templates and copy-paste the information in the Visualforce Markup text box.

  6. Click Save.

Update Custom Settings

To add the new Visualforce page name to Custom Settings:

  1. In your Salesforce organization, click the gear icon Gear icon.png and select Setup.

  2. Use the Quick Find box to search and open Custom Settings.

  3. Find and open TM Formstack Setting.

  4. Click Manage > Edit.

  5. In the CPAR Self Evaluation VF Page Name field, enter the name  webmergeCPARSelfEvaluationForm given to the Visualforce Page created in the previous step.
    Custom settings.png

  6. Click Save.