Hello
When creating a task in the top screen "CommWebPicker" there is a field called "Regarding / comm_opportunityid".
With comm_opportunity id you can connect a task to the entities: OPPORTUNITY, CASE, ORDER and QUOTE.

I'm now trying to add entity LEAD to the advanced search field comm_opportunityid.
To achieve this, I used Derived Fields Assistant and added cmli_comm_leadid and comm_leadid to entity communication.

This enables me to choose Lead as a tied field

I can now choose Lead in Regarding field

-----
1. Task can be saved with lead assigned.

2. Reopening the task, the screen changes - looks fine for this step.

Problem:
3. Reopening the task again - but lead has already been converted to opportunity
If the Lead has already been converted to an opportunity, but the task is assigned to the LEAD then CRM automatically chooses a company (cmli_comm_companyid) and person (cmli_comm_personid).
Regaring field stays filled with Lead.
But when saving again:
Regarding field becomes empty and the task is not shown in the lead communications tab anymore.
Only company and person are there.
How can I prevent this from happening?
I'm looking forward to any ideas and suggestions
Thanks
Simon
