Skip to main content

[Product Builder - GCW] Make Derived Attributes (new product dimensions)

Anastasiia Zbrozhek avatar
Written by Anastasiia Zbrozhek
Updated over a week ago

This article explains how to create and configure custom product dimensions in Digital AutoConnect. These dimensions help define rules and logic within the workflow builder, such as classifying paper types, and can be used across various system components. This guide walks you through creating an expression-based dimension using a practical example.


Creating a Custom Product Dimension

Product dimensions allow you to add custom metadata to any product model. These are particularly useful in workflow automation, where you might want to build logic based on the product’s properties, such as material, weight, or type.

Here’s how to create a product dimension that classifies paper types as Standard or Exclusive based on the paper weight:


Step-by-Step Guide

1. Start with the Product Model
Open the relevant product model in your Digital AutoConnect platform where you want to define a custom dimension.

2. Add a New Dimension
Think of the dimension as a way to describe or classify the product. For example, if you're working with posters and want to distinguish between paper types, you could create a dimension called Paper Style.

3. Choose the Data Source Type
You'll be prompted to select how the dimension should be populated:

  • Fixed Value – Applies a single value to all variants.

  • Expression – Allows for dynamic logic based on existing product properties.

In this case, choose Expression to enable conditional logic.

4. Set the Data Type
Select String as the data type since the output will be a label (like Standard or Exclusive).

5. Write the Expression
Use a conditional formula to define how the value is assigned. For example:

plaintextCopyEditIF paper weight = 170 gsm THEN return "Standard" ELSE return "Exclusive"

This logic means that any paper with a weight of 170 GSM will be classified as Standard, while any other paper type will be labeled Exclusive.

6. Add a Measurement Unit (Optional)
While this field is optional and primarily for internal use, you can name it something relevant—like “paper”.

7. Save and Preview
Once you save the dimension, navigate to a product variant to verify the logic:

  • A product with 170 GSM paper will display Standard.

  • A product with any other weight will show Exclusive.


Use Case Example

If you’re creating a poster product, and your goal is to determine the production path based on paper quality, this setup allows you to dynamically sort between Standard and Exclusive types. This is especially useful when building conditional cases in the workflow builder.


FAQ

Can I use other data types for product dimensions?
Yes. Besides String, you can also use types like Boolean, Number, or Date, depending on what kind of data you're classifying.

What if I want to apply the same value to all product variants?
Use the Fixed Value option instead of Expression when setting up your dimension.

Can I change the formula later?
Absolutely. You can edit the expression at any time to update the logic based on new requirements.

Where can I use this dimension after it's created?
Custom dimensions can be used in:

  • Workflow builder conditions and switches

  • Product listings and filtering

  • Automated decision-making processes


📝 Not what you needed?

Help us improve this article, send us an email to [email protected] — please include the article title.

Did this answer your question?