PSA Asynchronous Callables

The following is the list of PSA Asynchronous Callables.

Note:

You can monitor the status of PSA asynchronous callable jobs in your Salesforce org from the Async Job Records tab. For more information, see Monitoring Asynchronous Jobs.

PSA Asynchronous Callables
Callable Class Description
ActualsCalculateDeltaContinuous Processes the Transaction Deltas to update Actual values on Projects, Resources, Regions, Practices, and Groups.
ActualsUpdateFieldsOnProjectCallable Updates the project actuals recalculation date and set the flag indicating whether recalculation of actuals is needed.
AsyncMatchJobCleanupCallable Deletes outdated resource match result and resource match process records.
AsyncMatchJobGeneratorCallable Creates async job records for each resource request within a resource match process.
AsyncTimecardSubmitCallable Submits the timecards for approval.
AutoAssignCoordinatorCallable

Starts the auto-staffing process when the Auto-Assign checkbox is selected on a resource request. Enqueues AutoAssignMatchJobCallable within a delay of 10 minutes. Before enqueuing, all the following must be true:

  • There is no match job already enqueued or running.
  • There are no resource requests with the Processing Stage field set to "Auto-Assign: In Progress".
  • There is at least one resource request with the Processing Stage field set to "Auto-Assign: Pending".
AutoAssignMatchJobCallable Searches for up to 1,000 resource requests with the Processing Stage field set to "Auto-Assign: Pending" and starts the matching process for those resource requests. Resource requests are prioritized based on the date on the Auto Staffing Last Enabled field, matching the oldest resource requests first.
BasePostActionCallable Triggers callables that perform actions after matching resources. Additionally, it checks if TopMatchAllocatorCallable is in error.
BILL_QueueBillingJobCallable Queues release billing batch jobs until they can be queued on the Apex Flex Queue.
BulkDeleteBillingEventItemCallable Deletes the billing event items when the billing event is deleted.
CalculateFinancialsForPTACallable Updates the Estimated Hours, Estimated Cost, and Actual Cost on Project Task Assignments.
CreateEVAForHeldRRLauncherCallable Fetches the resource request IDs in a 20000 chunk size and adds an asynchronous job record to calculate the EVAs for held resource requests.
DeleteEstVsActualsCallable Deletes the Estimates Versus Actuals records.
DeleteOldDrrChangesCallable Deletes Dated Resource Rate Change records after all EVAs have been updated by UpdateEvaForDatedRateChangeCallable.
DeleteProjectBacklogDetailsCallable Deletes project backlog details for inactive projects.
ExpenseRollupCallable Rollups the expenses on assignments, milestones, or expense reports.
EvaActualsCalculationCallable Contains a set of assignment IDs to be processed to calculate EVA actuals fields. It initiates another queueable that processes a set of timecards and calculates the EVA.
EvaEstimatesCalculationCallable Calculates the estimates on the EVA records for the provided schedule IDs.
FindAssignmentsForDrrChangeCallable Finds assignments that might have EVAs affected by dated resource rate changes, and starts UpdateEvaForDatedRateChangeCallable jobs.
GeoCodingCallable Adds geocoding data on resources and resource requests records.
GroupChainUpdateCallable Updates the Group ID and Name Chain for parent groups. The groupIds in the Callable Parameters field are the updated group records.
GroupChainUpdateChildCallable Updates the Group ID and Name Chain for child groups. The childGroupIds in the Callable Parameters field are the set of group IDs that are updated for the updated parentGroupIds.
HandleAssignMilestoneFlagsCallable Checks the Closed for Time Entry and Closed for Expense Entry fields on assignment and milestone when these fields are checked on the project.
PostActionAutoAssignCallable

Calls a job that performs actions related to auto-staffing after TopMatchAllocatorCallable has identified the most suitable resource for each resource request. If TopMatchAllocatorCallable fails, PostActionAutoAssignCallable does the following:

  • Send an app log for the error.
  • Update the Processing Stage field to "Auto-Assign: Error" and deselect the Auto-Assign checkbox on the resource request.
  • Send a notification to the user that selected the Auto-Assign checkbox.
PostActionNotificationCallable Sends a success email and notification if TopMatchAllocator fails, or a failure email and notification if it fails. This callable is enqueued by Resource Request Staffer and synchronous assignment processes.
PracticeChainUpdateCallable Updates the Practice ID and Name Chain for parent practices. The practiceIds in the Callable Parameters field are the updated practice records.
PracticeChainUpdateChildCallable Updates the Practice ID and Name Chain for child practices. The childPracticeIds in the Callable Parameters field are the set of practice IDs that are updated for the updated parentPracticeIds.
ProjActSameCurrencyRecalcCallable Updates Project Actuals when a project is moved between two project hierarchies with the same currency.
ProjectActualsDeltaRecalculationCallable Updates Project Actuals when a project is moved between two project hierarchies with different currencies.
ProjectVarianceCallable Calculates hours variance for the passed project IDs. This is initiated from the PSA Administration page.
ProjectVarianceLauncherCallable Fetches the project IDs in a 20000 chunk size and inserts multiple async job records with a chunk of 200 project IDs to calculate the hours variance.
RA_TerminalCallableAutoAssign

Updates the following fields related to auto-assign on resource requests:

  • Auto-Assign: deselects the field.
  • Processing Stage: populates the field with "Auto-Assign: Complete" or "Auto-Assign: Error" depending on the outcome of the auto-assign process.
  • Assignment Source: populates the field with "Auto-Assign" if a resource is assigned to the resource request.

Additionally, this callable sends notifications to the user who enabled auto-assign when resources are assigned to resource requests or an error occurs during auto-assign.

RA_TerminalCallableBase Calls RA_TerminalCallableAutoAssign if an auto-assign process is performed or RA_TerminalCallableNotification if an assignment process is performed.
RA_TerminalCallableNotification

Sends email notifications for an assignment process in the following scenarios:

  • Resources are assigned to resource requests.
  • Resources are not matched to some resource requests.
  • An error occurs during the process.
RegionChainUpdateCallable Updates the Region ID and Name Chain for parent regions. The regionIds in the Callable Parameters field are the updated region records.
RegionChainUpdateChildCallable Updates the Region ID and Name Chain for child regions. The childRegionIds in the Callable Parameters field are the set of regionIds that are updated for the updated parentRegionIds.
RemoveEmptyBatchesCallable Deletes the billing event batches when the billing event is deleted.
ResourceMatcherCallable Finds resources that match a single resource request.
RPGPRMaintenanceCallable Updates the current time period on Region, Practice, Group, Project, and Resources.
ScheduleAvailabilityLocalCallable Creates monthly availability records based on utilization engine records and pushes the new records to an Analytics dataset.
ScheduleAvailabilitySyncDatasetCallable Creates a header for the dataset in the schedule availability process.
ScheduleAvailabilitySyncPartCallable Creates insights external data parts for the insights external data record.
ScheduleAvailabilitySyncProcessCallable Processes the dataset when the header and all its parts are created successfully.
ScheduleAvailabilitySyncQueryCallable Queries either utilization engine or monthly availability records and initiates ScheduleAvailabilitySyncPartCallable to create insights external data parts record.
ShiftNotificationsCallable Manages the Shift Notification Job for sending email alerts.
SP_ShareProjectCallable Shares project-related records with the project manager or the team.
ThresholdAlertNotificationCallable Sends an email to the user when the project reaches the threshold value.
TimecardChangeCallable Updates the transactions after editing the timecard splits.
TimecardRollupCallable Rollups the timecards on assignments, milestones, or timecards.
TMR_TimecardSyncJobCallable Synchronizes the timecard on the timer session.
TimeVarianceCallable Calculates time variance for the provided region, practice, and group.
TimeVarianceEnqueuer Enqueues time variance calculation process.
TopMatchAllocatorCallable Identifies the top resource for each resource request in priority order.
UE_AdminLauncher Groups a set of resources into chunks which are processed together by the UE_Launcher.
UE_Callable Rebuilds the utilization engine records for a set of resources.
UE_Launcher Groups a set of resources into chunks which are processed together by the UE_Callable.
UpdateEstVsActualsNameCallable Handles the EVAs name and resource updates when a resource is changed on Assignments.
UpdateEvaForDatedRateChangeCallable Updates EVAs affected by dated resource rate changes for a set of assignments.
UpdateProjectMonitorFieldsCallable Updates the Total Assigned Hours and Total Projected Revenue From Assignments fields on the Project record.
UpdateSchedulesCallable Updates Scheduled Hours, Scheduled Days and Action Force Schedule Refresh fields on schedules and remove out of range schedule exceptions.
Note:

These callable classes are used to improve the trigger performance and run the records asynchronously.