Professional Services Automation Invocable Action Reference

AssignmentSelectorAction

Returns resource assignments for one or more Assignment, Project, or Resource records, identified by Salesforce ID or by name, optionally filtered to a date period. Supply either objectIds (all of the same type: Assignment, Project, or Resource) or searchRecordName together with searchRecordType. An assignment matches the date period when its start/end range overlaps the supplied window (assignment start on or before the period end and assignment end on or after the period start). When a name matches more than one Project or Resource, the matching records are returned as candidates so the caller can re-invoke with a specific ID. This action only returns assignment data; it performs no analysis or summarisation.

PropertyValue
LabelQuery Assignments for Specified Records
Category
SinceSummer 2026
Read-onlyYes
Supports AgentsYes
Supports FlowsNo
Async ActionNo
Keywordsresource allocation, assignments by project, assignments by resource, over-allocation

Request Parameters

FieldTypeLabelDescriptionRequired
objectIdsList<Id>Object IDsSalesforce record IDs of the Assignment, Project, or Resource records to return assignments for. All IDs must be of the same object type. Leave blank when searching by name.No
searchRecordNameList<String>Record NameFull or partial name of the Assignment, Project, or Resource records to return assignments for. Matching is partial, so a name that matches more than one Project or Resource is returned as candidates to disambiguate. Used only when Object IDs is blank; requires Search Record Type to be set.No
searchRecordTypeStringSearch Record TypeThe object type that Search Record Name refers to: Assignment, Project, or Resource. Required when Search Record Name is supplied.No
periodStartDateDatePeriod Start DateOptional. Start of the date period. Only assignments whose date range overlaps the period are returned.No
periodEndDateDatePeriod End DateOptional. End of the date period. Only assignments whose date range overlaps the period are returned.No

Response Parameters

FieldTypeLabelDescriptionRequired
errorMessageStringError MessageError message if the action execution encounters any issues.No
assignmentsInJsonList<String>AssignmentsThe matching assignment records, each serialized as a JSON string. Each record includes the resource, project, role, status, start and end dates, scheduled hours, the assignment's per-weekday scheduled hours under Schedule__r, and the resource's work-calendar capacity per weekday under Resource__r.Work_Calendar__r, so over-allocation can be assessed by comparing scheduled hours against capacity.No
matchingSearchSObjectsList<String>Matching Search RecordsWhen a supplied name matches more than one Project or Resource, the matching records (with their IDs) are returned here as JSON strings so the caller can disambiguate. Empty when assignments are returned.No
recordDataCountSmartActionRecordDataCountRecord Data CountThe total number of matching assignments available, the number returned, and whether the result was truncated because it exceeded the limit.No
© Copyright 2009–2026 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.