Hi Muhammad,
Which version is your local agent?
2.3.1
Is your local agent version the same for Prod and for Test & Staging.
Same version
Plus, please send a print screen with the output of the following statements against Orchestration DB​:
select * from OrchestratorJob order by LastProcessedDateTime desc
JobId DeploymentInstanceId CommandId State Error Exception QueuedDateTime ScheduledDateTime LastProcessedDateTime EndDateTime
SSERP01-ff4ca602-b9cf-461d-aef9-19d0a1370bbd b1fa3a82-e2d7-43b2-854d-922b76ab12f0 ff4ca602-b9cf-461d-aef9-19d0a1370bbd 3 NULL NULL 2020-07-29 13:09:55.023 2020-07-29 13:09:55.433 2020-07-29 13:10:55.687 2020-07-29 13:11:55.717
SSERP01-a2a35126-6fe7-4b39-90fc-b6237c8a00fa b1fa3a82-e2d7-43b2-854d-922b76ab12f0 a2a35126-6fe7-4b39-90fc-b6237c8a00fa 2 NULL NULL 2020-05-13 16:12:31.973 2020-05-13 16:12:32.003 2020-05-13 17:35:03.947 2020-05-13 17:36:04.037
SSERP01-4c1dbc74-affd-43da-8dea-f6b17b545398 b1fa3a82-e2d7-43b2-854d-922b76ab12f0 4c1dbc74-affd-43da-8dea-f6b17b545398 3 NULL NULL 2020-05-13 13:56:25.357 2020-05-13 13:56:25.387 2020-05-13 15:46:28.607 2020-05-13 15:47:28.650
select * from RunBookTask order by StartDateTime desc
RunbookTaskId Name Description TaskDefinitionName State Order Retries StartDateTime EndDateTime JobId OutputMessage
SSERP01-ff4ca602-b9cf-461d-aef9-19d0a1370bbd-downloadArtifacts downloadArtifacts Download artifacts from LCS OrchestrationService.ArtifactProcessorTask,OrchestrationService 3 1 1 2020-07-29 13:09:55.433 2020-07-29 13:11:55.717 SSERP01-ff4ca602-b9cf-461d-aef9-19d0a1370bbd NULL
SSERP01-a2a35126-6fe7-4b39-90fc-b6237c8a00fa-executePostDeploymentScript executePostDeploymentScript Execute post-deployment scripts OrchestrationService.PostPowerShellRunnerTask,OrchestrationService 2 6 1 2020-05-13 17:35:03.947 2020-05-13 17:36:04.037 SSERP01-a2a35126-6fe7-4b39-90fc-b6237c8a00fa NULL
Regards,