Hey all,
I have a task where the parameter ignores the constant value even after the creation.

here is the domain:

This is the only default assigned to the task:
declare @print_qty int = (select top 1 cast(setting_value as int) from setting where setting_name = 'default_no_print_copies')
if (@no_of_copies is null) begin
set @no_of_copies = @print_qty
end
This is the process variable

Any idea what could be causing the issue?