Configuration Hiding Rules

Overview

What are they?

Hiding attribute rules tell the system to hide select attributes when a pre-defined condition is satisfied. Like other rules, hidden attribute rules are made up of a condition and an action. The values of the attribute(s) selected as the condition attribute(s) determines the result of the condition, which when true triggers the hiding of the action attributes.

How do they work?

Using hidden attribute rules, you can reduce the number of flow rules needed for a configuration process. You can include different attribute types in a single flow rule and show one set of attributes in another, based on the same condition.

ClosedAJAX Hiding Rules

AJAX can be enabled for any constraint or hiding configuration rule. Unlike other rules, that are evaluated only if the attributes are set to auto update or if a user clicks the Update action, AJAX rules are evaluated and the action is performed instantly when a user changes any rule input. Input can be condition and action attributes or action inputs. AJAX rules are re-run when a user clicks the Update button.

AJAX hiding rules do not support hiding the tab when all attributes are hidden in it. Similarly, a tab that is hidden will not appear via AJAX if the user “unfires” the associated hiding rule. The user must perform an Update action to view/hide tabs. Also, if a required attribute is hidden through an AJAX rule, no validation error will be thrown on Update or invoke actions.

Recommendation messages will appear/disappear via AJAX for attributes that are inputs/action attributes of AJAX rules. It should be noted that this does not imply that recommendation rules are fired by AJAX. Recommendation rules will only be fired when the user performs an Update action. However, if a recommendation rule has already fired on an attribute and that attribute is a part of an AJAX rule, then the recommendation value setting and messages will occur via AJAX.

Best Practices and Tips

  • AJAX Rules are supported on Search Flow and Model Configuration pages.
  • AJAX rules are not supported for the default wizard.
  • If an AJAX rule fails to evaluate properly, the action will be timed out in 2 minutes.
  • The HTML structure has been modified and may not work well with any custom JavaScript on the page. Please validate upon upgrading to 11.1.
  • AJAX Rule without SOAP/ Table Queries –AJAX rules are not recommended to be used on rules with a large amount of BML, SOAP calls, or table queries as it could adversely impact performance and hence, end user experience.
  • AJAX Rule with fewer action attributes - AJAX rules update the page using JavaScript post page loads. Hence it is important that we limit the number of attributes being affected per AJAX.
  • Group headers that are hidden on page load cannot be shown/hidden again via AJAX. While attribute in the group can be shown/hidden via an AJAX hiding rule, the group header will remain hidden until the user performs an Update action.

Administration Pages

ClosedHiding Rule Page

Hiding Rule Page

Item Description

1

The rule Actions menu provides the following functions:

  • Translations: Add translations for a rule.

  • Email the rule summary to the specified recipients.

  • Print the rule summary.

2

The Basic Details section contains general information about the rule.

  • What is the rule type? The rule type, after saving the value is read-only.

  • Name: The name of the rule

  • Variable Name: The variable name of the rule, after saving the value is read-only.

  • Description: The description of the rule.

    Click the Summarize Summarize icon to leverage generative AI to automatically produce human-readable summaries of rule logic, helping administrators quickly grasp the purpose and impact of rules without parsing complex expressions or condition sets.

  • Status

    • Active: Rule is fired when the condition is met.

    • Internal: Rule is active only for FullAccess users; it is inactive for all other users.

    • Inactive: Rule is not fired, even if the condition is met.

  • Effective Start Date and Effective End Date specify how long the rule will remain in the chosen status. If no duration is specified, the rule maintains its status until an administrator changes it.

  • Ajax enabled for JET UI: When enabled, the rule will automatically run when conditions are met. The rule will run without refreshing the page or performing an action.

3

The When section is used to define the conditions that specify when a rule should run. There are three options: Always True, Simple, and Advanced.

Always True: The rule will fire automatically, every time, because there are not any conditions to be met.

ClosedSimple: The rule will fire if the conditions you define using the rule editor are met.

Add conditions to select the necessary condition attributes and define the conditional values.

  • To add a conditions, click +Add Condition.
  • To edit a condition, click on the applicable condition.
  • To remove a condition, click the Delete Trash icon icon.

The order in which the conditions are evaluated in are defined in the Add or change () to change grouping field.

  • Click Match All if all of the conditions must be met.
  • Click Match Any if any condition needs to be met.
  • Click in the Add or change () to grouping field to define custom grouping.
    For example, (1 OR 2) AND 3

ClosedAdvanced: Use the BML function editor to define complex condition logic.

  • Click Convert to Advanced Condition to convert the simple condition to an advanced condition.

4

The Then section is used to define actions (i.e. what will happen if the conditions are met).

Select attributes and actions to hide.

Administration

ClosedAdd / Edit a Hiding Rule

Complete the following steps to add or edit a Hiding Rule.

  1. Navigate to the desired product level:

    • All Product Families:  Admin Home > Configurations
    • Product Family: Admin Home > Configurations > Product Family
    • Product Line: Admin Home > Configurations > Product Family > Product Line
    • Model: Admin Home > Configurations > Product Family > Product Line > Model
  2. Click the Edit Edit icon icon for the desired level.
  3. Select Rules in the left navigation.
  4. Create or edit a rule:

    • To create a new rule click + Rule. 

    • To edit an existing rule, click on the desired rule.

  5. Define or edit the Basic Details options:

    • What is the rule type? Hiding.
    • What is the rule name? Enter the name of the rule.
    • Variable Name: Enter a variable name for the rule. The Variable Name field populates automatically. The entry can be changed before saving, but after saving the value is read-only. Variable names can only contain alpha-numeric characters and underscores.

    • Description: If desired, enter a rule description.

      Click the Summarize Summarize icon to leverage generative AI to automatically produce human-readable summaries of rule logic, helping administrators quickly grasp the purpose and impact of rules without parsing complex expressions or condition sets.

    • Ajax enabled for JET UI: When enabled, the rule will automatically run when conditions are met. The rule will run without refreshing the page or performing an action.
    • Set the Effective Start Date and Effective End Date to specify how long the rule will remain in the chosen status.
      If no duration is specified, the rule maintains its status until an administrator changes it.

    • Set the status: 

      • Active: Rule is fired when the condition is met.
      • Internal: Rule is active only for FullAccess users; it is inactive for all other users.
      • Inactive: Rule is not fired, even if the condition is met.
  6. Set the Condition Type and add conditions in the What section.

    ClosedAlways True The rule fires automatically.

    ClosedSimple Select attributes and define simple conditions.

    ClosedAdvanced Use the function editor to select attributes and define advanced conditions.

  7. Define actions in the Then section.

    1. Choose What should the rule be applied to: Configuration, Selection, or Both
    2. Add an attribute or action to hide:
      1. Click + Hide Attributes or Actions.
      2. Select an attribute or action from What is the Attribute or Action to hide?

      3. Click Create.

    3. Click the Delete Trash icon icon to remove an attribute or action.

  8. To add translations, select Translations from the Actions menu.

  9. Click Create or Save.


ClosedDelete a Rule

Warning: Deleted rules cannot be recovered.

Complete the following steps to delete a configuration rule.

  1. Navigate to the desired product level:

    • All Product Families:  Admin Home > Configurations
    • Product Family: Admin Home > Configurations > Product Family
    • Product Line: Admin Home > Configurations > Product Family > Product Line
    • Model: Admin Home > Configurations > Product Family > Product Line > Model
  2. Click the Edit Edit icon icon for the desired item.
  3. Select Rules in the left navigation.
  4. Right click on the configuration rule's actions ellipsis, then select Delete.
  5. Click Delete in the confirmation dialog.

Related Topics

Related Topics Link IconSee Also