Sync Project Task Assignments with External Calendars
Depending on the configuration you can create Project Task Assignments from the available UIs in PSA. To sync the PTAs with the external calendar, you need to perform the following steps:
Creating PTA Calendar Events
- Ensure that the authentication flow is completed and the required External Calendar Events Settings custom settings are enabled. For more information, contact your administrator.
- When creating a PTA, ensure that the PTA must have a resource assigned.
- By default, the calendar events are created for the email address specified in the Email field of the Contact object. If the Contact object Email field is empty, then the email is fetched from the user’s email on the Salesforce User lookup field.
- You can override the default Email behavior by specifying the API name of the field from the Contact object containing the resource’s email address in the Resource Calendar Id Field of External Calendar Events Settings. For more information, contact your administrator.
- Create a PTA and save. The PTA event is created in the calendar for the specified start and end dates.
- Navigate to the calendar and check the event details.
- The default fields are Project Name, PTA, Start Date, End Date, and Estimated Hours. The start date and end date include time in the GMT time zone.
- You can customize the description that you want to show using the PTA Event Description Fieldset in External Calendar Events Settings. For more information, contact your administrator.
- To customize the calendar event title you can use the PTA Calendar Event Title field in the External Calendar Events Settings. If the field specified in PTA Calendar Event Title is empty, then Null is displayed as the calendar event title. The default event title is PTA Name.
App Logs are created to cover scenarios when an error occurs while synchronizing PTAs with an external calendar.
- From the App Launcher, search App Logs.
- Select App Logs.
- Check the App Logs with Origin PsaCalendarSync. These app logs contain the errors and messages.
Updating Calendar Events
To sync the calendar events with the PTAs whenever a change is made to the Project Tasks or PTAs, you need to start the update flow by selecting the Action: Sync with External Calendar checkbox in the Details section of the Project Task Assignment.
The update flow starts automatically, when:
- the start date and end date on the project task are updated.
- the resource and estimated hours on the PTAs are updated. When the resource on a PTA is updated, the events will be created in the newly updated resources calendar and the events from the previous resources calendar will be deleted.
Excluding Events Creation from External Calendars
You can exclude the creation of PTA events in the external calendars using the Exclude from External Calendar Sync checkbox. Once you select this checkbox for a PTA, no events will be created for that particular PTA in the future.
If the excluded PTA was previously synced with an external calendar, all the existing events are deleted for that PTA.