Is it possible to add a Filter Business rule due some specific condition?

Hello Colleagues,

 

I need to add a different "filter Business rule" for the same field regarding the value of another field, this is not possible using the Filter Business rule wizard, how can I did it?

 

In my case, regarding the contact Account Type I want to filter the possible Contact Types we want to enable, for example

  • if the account type is Our Company, contacts type just can be Employee,
  • if account type is Customer, contact type just could be "Customer" or "Contact Person"

 

Thanks in advance

Like 0

Like

2 comments

 Dear Julio,



Unfortunately, it is not possible to implement this logic through Business rules as we cannot create business rule for contacts in accounts.



The solution here will be to build the described filter using EntitySchemaQuery.

Here is the article - https://academy.creatio.com/docs/developer/back-end_development/working…



Best Regards,

Ivanna

Thanks Ivanna

Show all comments