Sync Assignments with External Calendars
Depending on the configuration you can create assignments from the available UIs in PSA. To sync the assignments with the external calendar you need to perform the following steps:
Creating Assignment 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 an assignment, ensure that the assignment must have a linked resource.
- 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 assignments and save them. The event is created in the calendar for that assignment with the specified start date and end date.
- Navigate to the calendar and check the event details.
- The default fields are the Project Name, Assignment, Start Date, End Date, and Scheduled Hours. You can customize the event description fields by using the Assignment Event Description Fieldset in External Calendar Events Settings. For more information, contact your administrator.
- To customize the calendar event title you can use the Assignment Calendar Event Title field in External Calendar Events Settings. If the field specified in the Assignment Calendar Event Title is empty, then Null is displayed as the calendar event title. The default event title is the Assignment Number.
App Logs are created to cover scenarios when an error occurs while synchronizing assignments 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 error and messages.
Updating Calendar Events
To sync the calendar events with the assignment, whenever a change is made to the Schedule or Assignment you need to start the update flow by selecting the Action: Sync with External Calendar checkbox in the Details section of the Assignment.
The update flow starts automatically, when:
- the start date, end date, and scheduled hours on the Schedule are updated.
- the resource on the Assignment is updated. The event gets deleted from the calendar of the old resource and is created in the newly updated resource's calendar.
Excluding Events Creation from External Calendars
You can exclude the creation of assignment events in the external calendars using the Exclude from External Calendar Sync checkbox. Once you select this checkbox for an assignment, no events will be created for that particular assignment in the future.
If the excluded assignment was previously synced with an external calendar, all the existing events are deleted for that assignment.