forcedotcom / devops-center-feedback

61 stars 2 forks source link

Stalled commit: Error encountered when updating Async Operation Result status to Completed/Error #287

Open emmanflores opened 2 months ago

emmanflores commented 2 months ago

Error encountered when doing fix for stalled commit. Per documentation, we should query for Async Operation Result record with In Progress status and update it to either Completed/Error. Followed this step but encountered this error: sf_devops.AsyncOperationResultCleanup: execution of AfterUpdate caused by: System.QueryException: Aggregate query has too many rows for direct assignment, use FOR loop External entry point (System Code)

Steps to reproduce the behavior:

  1. Navigate to the Async Operation Result record with status = In Progress
  2. Update status to either Completed or Error

Expected behavior Status should be updated to either Completed or Error

Screenshots

image