Skip to main content

Track the components deployed in salesforce

 As an admin, Sometimes we might need to track what are all the components getting deployed in Salesforce. We can monitor the Deployment Status via Set up. The Screen only shows the deployment information and Component Errors. 

Successful Deployment:


Failed Deployment:


But what if needed to track the components that were deployed?


To track the components deployed, We can use the below Metadata Rest API endpoint.

/services/data/vXX.0/metadata/deployRequest/deployRequestId?includeDetails=true


In the workbench, Go to Utilities --> Rest Explorer and Make a Get call with the endpoint and deployment id.

/services/data/v50.0/metadata/deployRequest/0Af2C00000h4yk?includeDetails=true

In the below response, We can see that Under Details, We have ComponentFailures, ComponentSuccess and allComponentMessages.



I hope this helps. Thank you for your time in reading this article. Cheers :)

Comments