Make sure to pass apply_immediately into the background job from the controller and don't rely on fetching the setting from the EnvVar model record in the background job.
This because the virtual attribute is not set anymore in the background job when fetching the model record.
Make sure to pass apply_immediately into the background job from the controller and don't rely on fetching the setting from the EnvVar model record in the background job.
This because the virtual attribute is not set anymore in the background job when fetching the model record.