Skip to content

Commit

Permalink
Updated execution wrapper; Issue #65
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpaulandrew committed Nov 9, 2020
1 parent a25c7cb commit a490768
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MetadataDB/procfwk/Stored Procedures/ExecutionWrapper.sql
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ BEGIN
--no restart considerations, just create new execution
ELSE
BEGIN
IF EXISTS --edge case, if all current workers succeeded, or some other not understood situation, archive records
(
SELECT * FROM [procfwk].[CurrentExecution]
)
BEGIN
EXEC [procfwk].[UpdateExecutionLog]
@PerformErrorCheck = 0;
END

EXEC [procfwk].[CreateNewExecution]
@CallingDataFactoryName = @CallingDataFactory
END
Expand Down

0 comments on commit a490768

Please sign in to comment.