CreateAssignmentAndAssignResourceAction
Creates an assignment by assigning the specified resource to the specified resource request.
| Property | Value |
| Label | Create Assignment and Assign Resource |
| Category | Resource Management |
| Since | Summer 2026 |
| Read-only | No |
| Supports Agents | Yes |
| Supports Flows | No |
| Async Action | No |
| Keywords | staffing, book, allocate, resourcing |
Request Parameters
| Field | Type | Label | Description | Required |
resourceRequestId | Id | Resource Request ID | The resource request to assign the resource to. | Yes |
resourceId | Id | Resource ID | The resource to assign to the resource request. | Yes |
Response Parameters
| Field | Type | Label | Description | Required |
resourceRequestId | Id | Resource Request ID | The resource request the resource was assigned to. | No |
resourceId | Id | Resource ID | The resource that was assigned to the resource request. | No |
assignmentJson | String | Assignment (JSON) | The created assignment serialized as JSON, with fields Id, Name, Resource__c, Resource_Request__c, Start_Date__c, End_Date__c and Status__c. Deserialize with JSON.deserialize(value, pse__Assignment__c.class). | No |
|