You are here:
PMM Customize Process Builder Automation
Customize your Program Engagement and Service Delivery naming.
- Customize Program Engagement Naming
When a user creates a Program Engagement, its name follows the formatContact Name Start Date: Program Nameunless otherwise specified. For Program Engagements without Contacts, the default naming format isAnonymous Start Date: Program Name. - Customize Service Delivery Naming
When a user creates a Service Delivery, its name follows the formatContact Name Start Date: Serviceunless otherwise specified.
Customize Program Engagement Naming
When a user creates a Program Engagement, its name follows the format Contact Name Start Date: Program Name unless otherwise specified. For Program Engagements without Contacts, the default naming format is Anonymous Start Date: Program Name.
You may want to customize your Program Engagement naming. Here are some examples.
-
If the majority of your Program Engagements don't include Contacts, omit the word “Anonymous” from the automated Program Engagement name. For example, rather than
Anonymous 2020-06-17: Hygiene Kits, the Program Engagement name could be2020-06-17: Hygiene Kits. -
If the majority of your Program Engagements reference the Account object, include the Account name in the automated Program Engagement name. For example, if your organization provides services to households, schools, or other nonprofits, your Program Engagements should include the Account name, such as
California Nonprofit Association 2020-06-17: DEI Coaching. -
If the majority of your Program Engagements reference a custom object, include the custom object name in the automated Program Engagement name. For example, if you work with a nonprofit organization that provides spay and neuter services for pets tracked in a custom object called Pets, you might have a Program Engagement named
Buck 2020-07-10: Neuter.
To customize Program Engagement automated naming:
-
Click
, then click Setup. -
Enter Process Builder in the Quick Find box, then click Process Builder.
-
Click
to expand Template: Program Engagement Object. -
Click the Active version of the Template.
-
Click Clone.
- Select A new process.
-
Name the process and optionally provide a description.
-
Click Save.
-
Next to the Update Name step, under Immediate Actions, click Update Name, then:
-
To omit the word “Anonymous” from Program Engagements without Contacts, copy the code from Customize Program Engagement Naming, paste it in the Value field.
-
To include the Account name, copy the sample code from Add Account or Custom Object To Auto-Naming, paste it in the Value field.
-
To include a custom object name, copy the sample code from Add Account or Custom Object To Auto-Naming, paste it in the Value field, and customize it to reflect your custom object.
-
-
Click Use this Formula.
-
Click Save.
-
Click Activate to enable the change.
Remove "Anonymous" From Auto-Naming
To remove the word “Anonymous” from Program Engagements without Contacts, follow the instructions above, and copy and paste this code in the Value field, customizing as needed.
IF(NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__Contact__c)),IF(
LEN(
[pmdm__ProgramEngagement__c].pmdm__Contact__c.FirstName + ' ' + [pmdm__ProgramEngagement__c].pmdm__Contact__c.LastName + ' ' +
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name) > 77,
LEFT(([pmdm__ProgramEngagement__c].pmdm__Contact__c.FirstName + ' ' + [pmdm__ProgramEngagement__c].pmdm__Contact__c.LastName + ' ' +
IF (NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10)) +
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name),77)
+ '...', [pmdm__ProgramEngagement__c].pmdm__Contact__c.FirstName + ' ' + [pmdm__ProgramEngagement__c].pmdm__Contact__c.LastName + ' ' +
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name
),
IF(
LEN(
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name) > 77,
LEFT((IF (NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10)) +
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name),77)
+ '...',
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name
))
Add Account or Custom Object To Auto-Naming
To include an Account or custom object in Program Engagement naming, follow the instructions above and copy and paste this code in the Value field, customizing as needed. If you're referencing a custom object, be sure to update this code for the custom object.
IF(NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__Account__c)),IF(
LEN(
[pmdm__ProgramEngagement__c].pmdm__Account__c.Name + ' ' +
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name) > 77,
LEFT(([pmdm__ProgramEngagement__c].pmdm__Account__c.Name + ' ' +
IF (NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10)) +
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name),77)
+ '...', [pmdm__ProgramEngagement__c].pmdm__Account__c.Name + ' ' +
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name
),
IF(
LEN(
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name) > 77,
LEFT((IF (NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10)) +
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name),77)
+ '...',
IF(
NOT(ISBLANK([pmdm__ProgramEngagement__c].pmdm__StartDate__c)), TEXT([pmdm__ProgramEngagement__c].pmdm__StartDate__c) , LEFT(TEXT([pmdm__ProgramEngagement__c].CreatedDate),10 ))+
': ' + [pmdm__ProgramEngagement__c].pmdm__Program__c.Name
))
Customize Service Delivery Naming
When a user creates a Service Delivery, its name follows the format Contact Name Start Date: Service unless otherwise specified.
If the default naming works for your organization, no further customization is needed. However, you may want to customize your Service Delivery naming.
-
Click
, then click Setup. -
Enter Process Builder in the Quick Find box, then click Process Builder.
-
Click
to expand the Template: Service Delivery Object. -
Click the Active version of the Template.
-
Click Clone.
- Select A new process.
-
Name the process and optionally provide a description.
-
Click Save.
-
Next to the AutoName step, under Immediate Actions, click UpdateServiceDelivery.

-
Paste your formula in the Value field.
-
Click Use this Formula.
-
Click Save.
-
Click Activate.
