Cam-script fetch variable

because the cam-script directive below is not bringing all the variables but only a few

camForm.on('variables-fetched', function() {

According to the docs:

When loading the form, the values of all variables used in the form are fetched from the backend. This means that the form SDK only fetches those variables which are actually used in the form.

I’m not 100% what question you’re asking, but does this clear things up?

I think you are correct only brings the variables that are in the form and not all that already exist in the cockpit. thank you