A Dynamic instance is a model for automatic creation and removal of child configurations of a certain product. A dynamic instance has expressions that control when child configurations shall be created, which identities they shall get and their quantities.
Create a dynamic instance
Dynamic instances can only be added to products that have one or more child products. For these products there is an extra tab titled "Dynamic instances" in Combinum Architect. The tab contains a list of defined dynamic instances, and a right-click menu is used for adding, deleting, editing and changing the order of the dynamic instances.
Create a button for dynamic instances
To trigger creation (and removal) of child configurations based on dynamic instances a button is needed. A button is created by adding a Form in a tab, and in the form adding a Form control with Button as Control type. Finally, the Flow action of the button shall be set to Dynamic instances.
When an evaluation of dynamic instances is triggered, this applies to the complete configuration tree. Combinum CPQ looks for dynamic instances for the product of each configuration, evaluates their expressions and adds or removes dynamic child configurations accordingly.
Settings
Dynamic instances have the following settings:
Setting name |
Description |
---|---|
Name |
Name of dynamic instance used for referral in expressions. |
Title |
Title of dynamic instance displayed in the CPQ app. |
Child product |
Child product to create dynamic configurations of. |
Inclusion expression |
Expression that controls if the parent configuration shall have dynamic child configurations or not from this dynamic instance. |
Identity expression |
Optional expression for setting the identity of dynamic child configurations. If not set the Identity expression of the child product is used. |
Create indexed instances |
Checked if the parent shall have multiple dynamic child configurations when the Quantity expression is evaluated to a value greater than one. The default is unchecked. |
Quantity expression |
Optional expression for the quantity of the dynamic child configuration or the number of dynamic child configurations that the parent shall have if Create indexed instances is checked. |