Best Practices for Assigning Criteria:
Avoid using fields that change frequently throughout the record’s lifecycle. (You don't want to select data where a record could qualify for your template today, then unqualify for that template tomorrow)
Be cautious if assigning more than one template to the same object. If you do, use criteria like Record Type or other stable field to ensure that a single record doesn't qualify for multiple templates.
Use fields that truly drive process, such as Picklists or Record Types, to control template assignment.
This ensures your milestone logic stays clean, focused, and conflict-free.
Planning Ahead = Fewer Errors
Before clicking "Create New Template", we strongly recommend:
Mapping out your Milestone names and Key Fields first. Sketch them out or use a spreadsheet. This avoids errors during setup and saves time.
If you're using Record Types to define your criteria, fetch the record type id before you start the process if you are using Record Type ID as your assignment criteria. Here is how your fetch the record type id:
Go to Setup > Object Manager > [Your Object] > Record Types
Click on the desired Record Type
Copy the Record Type ID from the URL (the 18-character value after
RecordType/
)Paste this value into the template criteria field on the DMM setup screen
In Lightning ExperienceClick the gear icon.
- Click Setup.
- Select the Object Manager.
- Select the object of your choosing.
- Select Record Types
- Select the Record Type Label name and inspect the URL to get the 18 digit ID by double clicking in the url right on the target digitsIn Lightning Experience, the URL for this page looks like this:
https://na1.lightning.force.com/lightning/setup/ObjectManager/Case/RecordTypes/012300000012BYNQAG/view?0.source=alohaHeader
- Paste the RecordType id to the Criteria field
Bonus Tip
Avoid using the following field types when adding your Key Fields:
Text Area
Text Area (Long)
Text Area (Rich)
Text (Encrypted)
Address (it's ok to use Street, City, State, Zip, but not the field that bundles all of these together)
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article