I have defined a variable in a page:

```
{% set service = builderDetails.record  %} 

```

and I want to pass this variable to a component:

```
{% component 'Variations' service=service %} 

```

but this method does not work. How can I do that?