Problem concat query with variable

I am trying to change the query dynamically with value from contact (quote_number) The problem is that hubl does not want me to concat string with variable.

Spoiler

THIS IS WORKING with hard coding

{% set associated_soumission = crm_associations((request_contact.contact_vid), “USER_DEFINED”, 18, “quote_number=11223344”, “id”, true) %}

Spoiler

THIS IS NOT WORKING with contact property

{% set associated_soumission = crm_associations((request_contact.contact_vid), “USER_DEFINED”, 18, “quote_number=”~contact.quote_number, “id”, true) %}

Is there a solution?
I have the same problem with crm_object.

It’s not really useful if I can’t go and get different values for each contact.

Usually with these function calls, if you’re using variables for the query, you have to first build the query outside of the call and then use a variable containing that query for the call itself.

Something like this:

{% set query = "quote_number="~contact.quote_number %}
{% set associated_soumission = crm_associations((request_contact.contact_vid), "USER_DEFINED", 18, query, "id", true) %}