Professional Services Automation Invocable Action Reference

SaveTimecardsAction

Creates or updates weekly Timecards for a resource. Provide the Timecard ID to update an existing weekly Timecard, or leave it blank to create a new one. When updating, only the fields you provide are changed; any field you leave blank keeps its existing value (to clear a day, set its hours to 0). Each request represents one resource's hours and notes for a single week, from Monday to Sunday. Returns one result per request indicating whether the Timecard saved, the saved Timecard ID, and any general or per-day errors. Logging time against individual project tasks is not supported by this action.

PropertyValue
LabelSave Timecards
Category
SinceSummer 2026
Read-onlyNo
Supports AgentsYes
Supports FlowsNo
Async ActionNo
Keywordstimesheet, log time, enter hours

Request Parameters

FieldTypeLabelDescriptionRequired
timecardIdIdTimecard IDThe ID of the Timecard Header to update. Leave blank to create a new Timecard. Provide an existing Timecard Header ID to update that Timecard instead.No
resourceIdIdResource IDThe ID of the Contact (resource) the Timecard is recorded for. Required when creating a new Timecard (Timecard ID is blank); leave blank when updating to keep the existing resource.No
projectIdIdProject IDThe ID of the Project the time is logged against. Required when creating a new Timecard (Timecard ID is blank).No
assignmentIdIdAssignment IDThe ID of the Assignment the time is logged against. When creating a new Timecard, provide this to log time against a specific assignment. Leave blank to log time directly against the project.No
startDateDateWeek Start DateThe start date of the week the Timecard covers. Must match the start day of the week configured in the resource's work calendar. Required when creating a new Timecard (Timecard ID is blank); leave blank when updating to keep the existing week.No
mondayHoursDecimalMonday HoursThe number of hours logged on Monday.No
tuesdayHoursDecimalTuesday HoursThe number of hours logged on Tuesday.No
wednesdayHoursDecimalWednesday HoursThe number of hours logged on Wednesday.No
thursdayHoursDecimalThursday HoursThe number of hours logged on Thursday.No
fridayHoursDecimalFriday HoursThe number of hours logged on Friday.No
saturdayHoursDecimalSaturday HoursThe number of hours logged on Saturday.No
sundayHoursDecimalSunday HoursThe number of hours logged on Sunday.No
mondayNotesStringMonday NotesThe notes entered for Monday.No
tuesdayNotesStringTuesday NotesThe notes entered for Tuesday.No
wednesdayNotesStringWednesday NotesThe notes entered for Wednesday.No
thursdayNotesStringThursday NotesThe notes entered for Thursday.No
fridayNotesStringFriday NotesThe notes entered for Friday.No
saturdayNotesStringSaturday NotesThe notes entered for Saturday.No
sundayNotesStringSunday NotesThe notes entered for Sunday.No
timecardNotesStringTimecard NotesThe notes entered for the whole Timecard.No
additionalFieldsJsonStringAdditional FieldsA JSON object of additional field API names and their values to save on the Timecard. For example: {"pse__Additional_Notes__c": "some note", "pse__Custom_Field__c": "value"}. Only fields included in the JSON are updated — omitted fields are left unchanged. To clear a field, include its name with a null value.No

Response Parameters

FieldTypeLabelDescriptionRequired
timecardIdIdTimecard IDThe ID of the saved Timecard. Populated in all cases except when creating a new Timecard failed.No
successfulBooleanSuccessfulTrue if the Timecard saved successfully; false if it failed.No
errorsList<String>ErrorsGeneral validation or DML errors that prevented the save and are not specific to a single day.No
mondayErrorsList<String>Monday ErrorsValidation errors specific to the hours or notes logged on Monday.No
tuesdayErrorsList<String>Tuesday ErrorsValidation errors specific to the hours or notes logged on Tuesday.No
wednesdayErrorsList<String>Wednesday ErrorsValidation errors specific to the hours or notes logged on Wednesday.No
thursdayErrorsList<String>Thursday ErrorsValidation errors specific to the hours or notes logged on Thursday.No
fridayErrorsList<String>Friday ErrorsValidation errors specific to the hours or notes logged on Friday.No
saturdayErrorsList<String>Saturday ErrorsValidation errors specific to the hours or notes logged on Saturday.No
sundayErrorsList<String>Sunday ErrorsValidation errors specific to the hours or notes logged on Sunday.No
© Copyright 2009–2026 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.