The 2012 release of SQL Server Integration Services, SSIS, has delivered an SSISDB catalog which tracks the operations of packages (among other things). The default package execution for solutions using the Project Deployment model will have logging to the SSISDB turned on.
When a package executes, the System::ExecutionInstanceGUID
is populated with a value that, if one were using explicit logging (to sys.sysdtslog90
/sys.sysssislog
) would record all the events for a specific package execution.
What I'd like to know, is how do I tie an ExecutionInstanceGUID to anything in the SSISDB catalog. Alternatively, is an SSIS package executing in the SSISDB privy to the value of its catalog.executions.execution_id
Ultimately, I am trying to use the existing, custom audit table and link it back to the detailed history in the SSISDB catalog but can't seem to find the link.
Best Answer
Too much for a comment, but trying something. From the msdn page of that system table catalog.executions I get:
From this article - SSIS 2012 – View Connection Manager Information for Past Executions - I understand that:
With a sample query of:
What I don't see is your ExecutionInstanceGUID in this table. What I see, though, is this ancient Connect item where there's the following story:
So my conclusion is that ExecutionInstanceGUID is not related to execution_id, but some InstanceId column, in case you might have one in the SSISDB.