{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":38001,"path":"order-management/sync-variable-to-cpq.md","title":"Sync context variables to CPQ","bundle":null,"doc_type":null,"release":"australia","body":"\n# Sync context variables to CPQ\n\nSync context variables to CPQ to be associated with blueprints.\n\n## Before you begin\n\nRole required: admin\n\n## About this task\n\nContext variables provide the business data that pricing and configuration rules need to evaluate a transaction, such as the shipping country, currency, or customer tier. Before this data can be used in rules, the context variable definition must be available in the rules engine. Syncing a context variable to CPQ publishes its definition, including its type, mapping, and whether it applies at the transaction header or line level to the rules engine, where you can reference it directly in blueprint rules without writing scripts.\n\nAdministrators can sync context variables to CPQ, if not already. Context variables are synced automatically when newly created or updated. Existing context variables that are not synced can be synced manually.\n\n## Procedure\n\n1.  In the CRM Workspace, select the **List** \\[Omitted image \"list-outline-24.svg\"\\] Alt text: view.\n\n2.  Navigate to **Context Rule Management** &gt; **Context Variables**.\n\n3.  In the Context Variables list, select the context variables that you want to sync to CPQ.\n\n    **Note:** You can sync only the context variables that are not synced. The **Synced to CPQ** field in the Context Variables list is set to true if the context variable is synced.\n\n4.  Select **Sync To CPQ**.\n\n    If you don't see the **Sync To CPQ** field, personalize the form and add this field.\n\n\n## Result\n\nThe **Synced to CPQ** field in the Context Variables list is set to true after the sync is successful and the context variable is can be associated with blueprints and rules.\n\nNavigate to **All** &gt; **CPQ Administration** &gt; **ALL FIELDS** to verify and use the synced context variables.\n\n**Related topics**  \n\n\n[Create a custom context variable](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/order-management/som-create-context-variable.md)\n\n"}}