This documentation supports the 26.2 version of BMC Helix Digital Workplace Basic and BMC Helix Digital Workplace Advanced. Icons distinguish capabilities available only for the Advanced and External license levels. For more information, see the License types and features topic. To view an earlier version, select the version from the Product version menu.

 

Building conditional logic in service questionnaires with Catalog Curator


As a catalog administrator, use conditional logic in Catalog Curator to control which questions appear in service request forms based on earlier answers. This approach keeps questionnaires focused on relevant information for end users and adapts forms to different business scenarios and languages. By entering natural-language prompts, you can add, modify, or remove conditional questions while creating or editing services.

Information
Scenario: Working with conditional questionnaires in Catalog Curator

Hannah, a catalog administrator at Apex Global, starts creating a Facilities Relocation Request service by clicking Catalog Assistant. She describes the service requirements in the Catalog Curator chat. Catalog Curator generates a summary with a basic questionnaire that includes questions such as relocation type and work arrangement.
Hannah refines the questionnaire to add conditional logic by entering the following prompts:

  • Add a “New workspace location details” question and ensure it appears only when the requester selects Office relocation.
  • Add a question “Remote setup requirements,” and it should appear only when Work from home is selected.

Catalog Curator updates the service parameters summary to reflect conditional questions, showing the dependent questions according to the requester’s selection.

After reviewing the questionnaire and confirming that the conditions align with her intent, Hannah enters an assertive reply: "Looks good."  The service is created in draft state with conditional questions configured.


Considerations for conditional logic in Catalog Curator

  • Supported condition types: single conditions, AND, and OR logic.
  • Conditions evaluate data values and not the display labels to ensure compatibility across multiple languages.
  • Built-in validation flags invalid conditions, such as when a referenced question or option is deleted, or when question order breaks dependencies.
  • You should limit nesting to a maximum of three levels and the number of conditions per question to a maximum of seven.
  • Catalog Curator supports editing service questionnaires with up to 30 questions. For services that contain more than 30 questions, Edit Questionnaire is not supported; however, you can still modify the service attributes and profile.
  • Supported question types and operators for conditional logic in Catalog Curator:
    • Use operators that are compatible with the question type used as the condition source.
    • If you attempt to apply conditional logic to an unsupported question type, Catalog Curator does not apply the condition and displays a warning message.
Click here to view the supported question types and operators for conditions:
Question Type Can be used in a  condition Comparison Operators
Dropdown (MultiSelect)Yes  INCLUDES, DOES_NOT_INCLUDE
Checkbox Yes  INCLUDES, DOES_NOT_INCLUDE
Table (MultiSelect)Yes  INCLUDES, DOES_NOT_INCLUDE
RadioButtonYes  EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS
Drop Down (Single Select)Yes  EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS
LookupYes  EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS
Text AreaYes  EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH
Text FieldYes  EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH
ToggleYes  EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH
CounterNo  NA
DescriptionNoNA
DateNo  NA
DateTimeNo  NA
PasswordNo  NA
TimeNo  NA
AttachmentNo NA

Before you begin

To work with conditional questions while creating a service

  1. Log in to BMC Helix Digital Workplace Catalog.
  2. Select Services Services.
  3. On the Service Management page, navigate to the My Services tab.
  4. To access Catalog Curator, click Catalog Assistant.
  5. Describe the service and questionnaire in the chat prompt. While entering the prompt for the service, use one of the following approaches:
    • Add conditions explicitly in your prompt by specifying when a question should appear based on earlier answers.
    • Allow Catalog Curator to infer conditions based on the input prompt and logical relationships between questions.
  6. Review the service summary presented by Catalog Curator.
    Verify the questionnaire and any conditional questions added explicitly or inferred from the prompt.
     
  7. Use natural‑language prompts in the summary to perform any of the following actions on conditional questions as per your requirement:

    Action

    Example prompt

    Add a conditional question

    Add a “Manager approval” question that appears only when Department is HR.

    Update a condition

    Change the condition for “Access details” to appear only when Access Type is Server AND Environment is Production.

    Remove a condition

    Remove the condition from “Additional comments.”

    Apply OR logic

    Show “Justification” only when Priority is High OR Critical.

    Apply AND logic

    Show “Security details” only when Access Type is Server AND Environment is Production.

    Warning
    Important
    • Condition nesting and limits: Limit condition nesting to a maximum of three levels and apply no more than seven conditions per question.
      When logic becomes complex, split it across multiple dependent questions instead of extending a single condition.
      Click here to read an example to understand this consideration:

      Hannah is designing a Facilities Relocation Request service and wants to show an “Additional setup details” question only in very specific cases. She starts adding conditions such as:

      • Relocation type is Office relocation
      • Work arrangement is Work from home
      • Move priority is Urgent
      • Employee department is Engineering
      • Special equipment is required
      • Access type is After‑hours

      As Hannah combines these conditions, she realizes that adding more layers of AND and OR logic quickly increases complexity. Catalog Curator allows her to nest conditions only up to three levels and apply a maximum of seven conditions to a single question.
      Instead of extending the logic further, Hannah splits her design into multiple dependent questions. For example, she creates a separate “Security and access requirements” question with its own conditions. This keeps the questionnaire readable, valid, and easier to maintain, while still capturing all required business rules.

    • Revert changes: If your updates invalidate conditional logic, a Revert changes button appears. Click it to restore the last valid questionnaire state. You can reapply your changes later if needed.
  8. After the summary reflects your intended questionnaire and conditional logic, enter an assertive response in the chat to confirm the service draft. For example, Looks good.
    Catalog Curator generates a service with the required conditional logic.
Click here to see example...

Conditional question conversation

To work with conditional questions while editing a service

  1. Log in to the BMC Helix Digital Workplace Catalog console as a catalog administrator.
  2. From the navigation panel, select Services > Services.
  3. Locate the service you want to edit and click Edit with AI.
  4. Click Edit Questionnaire and enter a prompt to edit the service questionnaire.
  5. Follow the same steps used to work with conditional questions while creating a service, starting from reviewing the summary.

Example of prompts with conditions

Use caseExample prompts for HR Employee Transfer Request
Simple conditionAdd a “New manager name” question that appears only when Transfer type is Department change.
OR logicShow “Reason for transfer” only when Transfer type is Promotion OR Department change.
AND logicShow “Relocation assistance required” only when Transfer type is Location change AND Work arrangement is Onsite.
Combined AND + ORShow “HR approval comments” only when (Transfer type is Location change OR Transfer type is Department change) AND Effective date is within 30 days.
Multi-select conditionShow “Compliance details” only if Required approvals include Legal.
Yes/No conditionShow “Visa details” only when the International transfer is true.
Modify conditionChange the condition for “Effective date” to appear only when the Transfer type is Temporary.
Remove conditionRemove the condition from “Supporting comments.”

Troubleshooting

IssueCauseResolution
A warning message appears, and the condition is not added to the specific question.The question type you included in the input prompt might not support conditional logic.Evaluate the condition again and apply the logic to the supported question types.

An invalid‑condition message appears in the questionnaire summary, showing a warning icon for the affected question:
This change will invalidate a conditional branch.
You can continue and fix the validation errors before saving,
or select Revert changes (or type 'revert changes') to restore the previous version.

Click here to see an interface...

Delete question error

 

Question reordering or deletion breaks the dependency between source and dependent questions.

 

Reorder questions so the source question appears before the dependent question, or update or remove the condition.
A Revert changes button is shown.Recent changes caused the conditional logic to become invalid.Revert to the last valid questionnaire state and reapply the required changes carefully.
Conditions stop working after editing the questionnaire.Questions or options used in conditions were deleted or modified.

When deleting questions, removing options, or reorganizing the questionnaire, promptly review and update the affected conditions. Ensure each condition references a valid source question, follows the correct order, or includes a valid option value.

Service creation  or updation fails due to the maximum output tokens showing the error, such as:

I cannot find any information. Please refine your request.

This error indicates that the configured maximum output token limit is insufficient for the request. This behavior relates to the model configuration.
 

Increase the maximum output token value in the model configuration settings.

Related topics

Building conditional questionnaires

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Digital Workplace 26.2