Hi there.
I'm using the cloud version of Espo.
In my setup I have the entity "Calls" which can be created with the entity Accounts or Leads as parents.
While creating, I want to have different options in an enum-field based on if the current chosen parent is an account or a lead.
I've tried to accomplish that by using "conditional options" of the enum-field but it doesn't work.
If I choose the field "parent", I can't define the type. Only if I choose a specific account/lead but it doesn't matter what account/lead only that an account/lead is currently selected.
If I go for e.g. "parent not empty" it'll apply for lead and account.

In workflows for example there this parent-option with which I can filter what I need.
Does anyone have an idea how to have different options in an enum-field based on if the current chosen parent is an account or a lead?
Thanks in advance
I'm using the cloud version of Espo.
In my setup I have the entity "Calls" which can be created with the entity Accounts or Leads as parents.
While creating, I want to have different options in an enum-field based on if the current chosen parent is an account or a lead.
I've tried to accomplish that by using "conditional options" of the enum-field but it doesn't work.
If I choose the field "parent", I can't define the type. Only if I choose a specific account/lead but it doesn't matter what account/lead only that an account/lead is currently selected.
If I go for e.g. "parent not empty" it'll apply for lead and account.
In workflows for example there this parent-option with which I can filter what I need.
Does anyone have an idea how to have different options in an enum-field based on if the current chosen parent is an account or a lead?
Thanks in advance

Comment