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.
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.
Before you begin
- Make sure that Catalog Curator is enabled. For more information, see Enabling and configuring Catalog Curator.
- Make sure you create source questions before dependent questions.
- Define option values for dropdown and radio questions.
- To learn the steps for creating services with Catalog Curator in detail, see Creating services with Catalog Curator.
- To understand how to edit services by using AI, see Editing services with Catalog Curator.
To work with conditional questions while creating a service
- Log in to BMC Helix Digital Workplace Catalog.
- Select Services > Services.
- On the Service Management page, navigate to the My Services tab.
- To access Catalog Curator, click Catalog Assistant.
- 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.
- Review the service summary presented by Catalog Curator.
Verify the questionnaire and any conditional questions added explicitly or inferred from the prompt.
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.
- 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.
To work with conditional questions while editing a service
- Log in to the BMC Helix Digital Workplace Catalog console as a catalog administrator.
- From the navigation panel, select Services > Services.
- Locate the service you want to edit and click Edit with AI.
- Click Edit Questionnaire and enter a prompt to edit the service questionnaire.
- 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 case | Example prompts for HR Employee Transfer Request |
|---|---|
| Simple condition | Add a “New manager name” question that appears only when Transfer type is Department change. |
| OR logic | Show “Reason for transfer” only when Transfer type is Promotion OR Department change. |
| AND logic | Show “Relocation assistance required” only when Transfer type is Location change AND Work arrangement is Onsite. |
| Combined AND + OR | Show “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 condition | Show “Compliance details” only if Required approvals include Legal. |
| Yes/No condition | Show “Visa details” only when the International transfer is true. |
| Modify condition | Change the condition for “Effective date” to appear only when the Transfer type is Temporary. |
| Remove condition | Remove the condition from “Supporting comments.” |
Troubleshooting
| Issue | Cause | Resolution |
|---|---|---|
| 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:
| 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

