Instance_Id token for SQL Server Agent - by admin_veratech

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 794080 Comments
Status Closed Workarounds
Type Suggestion Repros 0
Opened 7/16/2013 1:34:13 AM
Access Restriction Public


SQL Server Agent jobs can use tokens to get metadata about the job.  For example, a running job can get its own job id from $(ESCAPE_NONE(JOBID)).  There is also a token for Step Id.  

However, there isn't a token for Instance_Id (ie select [instance_id] from [msdb].[dbo].[sysjobhistory]).  I would find this very helpful if you could implement this.
Sign in to post a comment.
Posted by admin_veratech on 8/5/2015 at 6:45 PM
Any chance this will be re-visited?
Posted by Microsoft on 7/26/2013 at 1:29 PM
Hello Veratech. After carefully evaluating all of the suggestion items in our pipeline, we are closing items that we will not implement in the near future due to current higher priority items. We will re-evaluate the closed suggestions again in the future based on the product roadmap. Thanks again for providing the product suggestion and continued support for our product.

-Walter A Jokiel, Program Manager, SQL Server (