Set project start and end dates from CRM data
Updated
Who can do this: Internal users with permission to edit workflows. Publishing needs a separate publish permission.
By default, a workflow sets a new project's Start and End dates as an offset from the day the workflow runs. You can instead read either date from a date field on the record that triggered the workflow, such as a contract start date or a go-live date.
Before you begin
You need a workflow with a trigger. The workflow has to be in a draft before you can change it. For drafts and publishing, see Set up a workflow to create projects.
The trigger object needs at least one date or date/time field. If it has none, the card says
This trigger object exposes no date fields, so dates stay on an offset.when you set Start or End to From trigger object.
How the Project Dates card works
The Project Dates card gives Start date and End date their own source, chosen separately:
Offset (days): the date is a number of days from when the workflow runs. This is the default for every workflow, new or existing. Existing workflows keep using it unless you switch a date to From trigger object.
From trigger object: the date comes from a date or date/time field on the trigger record.
With both dates on an offset, you enter the Start Date Offset. The End Date Offset is calculated as the start offset plus the playbook's duration, and it's locked once the duration is known. If you switch End back to an offset, it's recalculated.
You can map just one date. If you map only Start, End is still calculated from the playbook's duration, counted from the mapped Start date.
Map a date to a CRM field
Open the workflow, then select Edit from v followed by the version number. The button is turned off if you can't edit workflows.
Select the Project Dates card.
Optional: Set the Start Date Offset to a sensible number first. A mapped Start date falls back to this offset, counted from the run date, when the CRM value is blank or can't be read. A mapped End date that falls back is calculated as the project's Start plus the playbook's duration.
Under Start date, End date or both, select From trigger object.
In Start Date from trigger object or End Date from trigger object, select the field. Fields show as the object name and field name, for example
Opportunity.Target Go-Live Date.Select Save.
When you're ready to make it live, select Publish. Publish is turned off if you don't have publish permission.
The card summary changes to something like Start from Target Go-Live Date.
The picker lists only date and date/time fields directly on the trigger object. Date fields reached through a lookup to a related object aren't offered.
If the trigger changes or the CRM field is deleted, the card warns that the mapped field is no longer available as a date field on this trigger object. Pick another field, or that date falls back to the offset.
What happens when the workflow runs
Both dates mapped: the project's Start and End match the CRM values. The playbook's estimated duration doesn't override the mapped End date.
Only Start mapped: End is the mapped Start date plus the playbook's duration.
A mapped date is blank or can't be read: a Start date uses the Start Date Offset from the run date. An End date is calculated as the project's Start plus the playbook's duration. Either way, the project is still created, and the run's log records which date fell back and why.
A mapped End date is earlier than Start: End is set to match Start, and the log notes the change.
Date/time fields: the value becomes its calendar day in UTC. A late-evening local time can land on the next day.
Exclude weekends: if the playbook's exclude-weekends setting is on, a mapped Start date can move forward to the next business day, as an offset-based start does.
Check which source a run used
In a run's log, the Project Dates step shows each date's configured source, the source actually used, the mapped field, the resolved date and any fallback reason. It doesn't show the raw CRM value. To see the record's values, open the run's Object tab. To find a run, see Workflow didn't create a project.