Skip to main content

Questions tagged [taskrelation]

1 vote
1 answer
137 views

I am struggling here, I am trying to have my page layout with due date appear when creating a new task based off a custom quick action on Opp. Its confirmed on the page layout, permission to it, etc ...
ForrestFairway's user avatar
1 vote
1 answer
452 views

Does anyone know how to fix that? What am I missing here? I need to access the TaskRelations object on my scratch org. AFAIK, it should be available when the Allow Users to Relate Multiple Contacts to ...
Pablo Fischer's user avatar
0 votes
0 answers
343 views

I want to relate several contacts to mys task. And i know that fot rhis i should enable the "Allow Users to Relate Multiple Contacts to Tasks and Events" checkbox . However it is disabled ...
Vitalii Dehnerys's user avatar
0 votes
1 answer
209 views

I need to query all related tasks from a contact (currentRecordId) but my code below shows nothing. What I'm doing wrong? Map<Id, TaskRelation> relatedTasks1 = new Map<Id, TaskRelation>([...
peXeq's user avatar
  • 469
1 vote
1 answer
715 views

I tried to get all related tasks from the selected contact, but salesforce don't like my code. If I try to save I get the error: Invalid bind expression type of Task for column of type Id What I'm ...
peXeq's user avatar
  • 469
0 votes
0 answers
45 views

My first question here. I am having an issue with a trigger that I have spent hours trying to figure out. I would really appreciate some help to fix this issue which would help me to learn Triggers ...
sw007's user avatar
  • 3
0 votes
1 answer
511 views

Below summarizes the issue I am encountering around Tasks with contacts associated. Scenario 1: When a contact is removed from an existing task, the removed contact should look up all associated tasks ...
JamsJams's user avatar
0 votes
1 answer
551 views

Here is my code. Need help to find the right way to check IF logic with TaskWhoRelation.relationId instead objTask.WhoId. Any type of help will be grateful. set<Id> setIds=new set<Id>(); ...
sfdchelper's user avatar
0 votes
0 answers
118 views

We have a requirement of editing a task whoid from VF page multi- select list(contacts).The page opens from task custom button. VF page code block: <apex:page standardController="Task" extensions=...
Ankita Gupta's user avatar
2 votes
1 answer
525 views

We have some APEX code that relates Contacts and possibly a Lead to a Task using one or more TaskRelation objects. Therefore the pseudocode is: Database.SaveResult[] srList = Database.insert(newTasks,...
Perennialista's user avatar
1 vote
0 answers
32 views

I need to have the pre selected object to be Account. It is alphabetically ordered at the moment. This might be a salesforce limitation, so if you may have encountered the same, please let me know ...
krisstannum's user avatar
3 votes
2 answers
1k views

I have a client who wants the ability to clone a task that has multiple contacts. They would make slight changes to the cloned task (Assigned To, etc) but the multiple contacts would remain the same. ...
David Cheng's user avatar
  • 7,561