Hide 'Fill Form with AI' for a specific case type/s'

I need to hide the “Fill Form with AI” button for a specific case type or a specific Flow Action view. Since the related OOTB rules (e.g.pzEnableFillFormWithAI) are marked as final and cannot be overridden, what would be the recommended workaround approach to achieve this?

Hi,

At the moment, the “Fill Form with AI” button can’t be hidden for a specific case type or view. .

The only supported control is the EnableGenerativeAI toggle, which can be scoped by access group / persona:

  1. Go to Configure > System > Release > Toggles.
  2. Find the row for EnableGenerativeAI and click Edit.
  3. Instead of Enable toggle for all, select only the access groups that should have GenAI features, or exclude the ones that shouldn’t.

Thanks @Arunkumar_Velmurugan Thanks for your prompt response. Do you have any idea whether upcoming Pega versions will include a feature to enable or disable this functionality for specific case types?

I think you should suggest it for a product update. this is a good feature to have and can be used in multiple places

Actually the DSS EnableGenerativeAI is a common misconception. You can control this feature directly.

Thanks @MarcCheong ! This link helped me. As this feature is not available in the production environment and cannot be made visible through customization, I’m good with the current behavior since the requirement is not to have it in production. I had initially misunderstood its usability.

Hi @MarcCheong,

Thanks for pointing out the documentation and correcting the EnableGenerativeAI point. You are right that the toggle is much broader than this feature.

I am curious about one thing, though. The Fill with sample data button is already disabled in production, and pzEnableFillFormWithAI is final, so the only way to change it is a private edit. As I understand it, that only affects the developer who made the edit and can’t be checked in or shared with the team.

Given that, I am struggling to see a real use case for turning it off in lower environments. Is there a scenario Pega had in mind, such as data-privacy concerns during demos, or controlling GenAI usage? Or is the private edit mainly meant as a personal preference for individual developers?
Thanks again for your input.

It’s a good point, this is only local change to hide the option. The option is there to accelerate testing in lower environments. No more names as “Test 1” or a mash of keyboards “sfakfjkdsjfkjds” in fields - realistic data leads to more realistic testing.

Given this isn’t marked for extension, I don’t believe it was intended to allow wholesale turning off/on.

It would be helpful to have a central option to disable this button globally across the environment, rather than requiring a private edit. Many business users will use the lower environments for User Acceptance Testing and may not be familiar with this button as they are in PROD. According to the when rule pzEnableFillFormWithAI, the button will be visible at production levels 1 through 3, including levels 1 and 3. UAT is usually performed in the Quality Assurance environment at product level 3, which raises this concern. Could this be improved in future releases?

I agree with @Vaisakh.V.A! Though it can be hidden in lower environments, but Private edit is not an option for end users because it’s a final rule. @MarcCheong - Any plans to control this behavior in future using Toggles to limit this functionality only for Authors access group for unit testing?

@RameshSangili @Vaisakh.V.A I haven’t see this raised before. It’s good feedback though, so I have raised this (FDBK-150492)