Skip to content

Commit

Permalink
Fix script (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fosol authored Apr 25, 2022
1 parent 9da6e86 commit 5809ebc
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,26 @@ END

PRINT 'Adding ProjectStatusTransitions - SPL/!SPL -> Disposed'

IF NOT EXISTS (
SELECT *
FROM dbo.[WorkflowProjectStatus]
WHERE [WorkflowId] = 6
AND [StatusId] = 22
)
BEGIN
INSERT INTO dbo.[WorkflowProjectStatus] (
[WorkflowId]
, [StatusId]
, [IsOptional]
, [SortOrder]
) VALUES (
6 -- SPL
, 22 -- AP_!SPL
, 1
, 6
)
END

IF NOT EXISTS (
SELECT *
FROM dbo.[WorkflowProjectStatus]
Expand Down

0 comments on commit 5809ebc

Please sign in to comment.