Task is an activity record, one that has a date but no time associated.

learn more… | top users | synonyms

-4
votes
0answers
18 views

How to assign the task in apex trigger [on hold]

trigger CreateTaskWhenNewLeadGenerate on Lead (After insert , After Update) { Set<Id> LdIdSet = new Set<Id>(); for ( Lead Ld : Trigger.New ){ if ( ...
0
votes
1answer
22 views

Making a url non clickable in task object

I have a requirement where I am storing some data in the description field(label Comments) in task object. The data consists on some url as well, which is remaining as clickable once it has been saved ...
1
vote
1answer
17 views

Send email notification for “Completed” Tasks to Task Creator

I want to notify the task creator when an assigned task is completed. I cant see a way i can do it currently in salesforce. I do see a workaround suggested by SteveMo ...
2
votes
1answer
16 views

Attempt to de-reference a null object building list in loop

What could be going on here? I've got a method that checks for the existence of a duplicate-kind record like so: public Boolean tasktNotSaved(Lead lead, String subject, String body) { Task[] ...
1
vote
0answers
17 views

Task page is not opening when clicking on Log a call button

when an end user is clicking on Log a call button from case, he/she is getting 500 status error code return instead of new task page where as if i check in URL, it is pointing to a visualforce page ...
0
votes
0answers
13 views

Creating Activities and Tasks due in x minutes on Leads

I have a system whereby when a lead is created, there should be a task assigned to the lead owner due in this instance due 7 minutes after the lead is created. This is to give the user 7 minutes to ...
1
vote
0answers
19 views

creating custom Task VF page [closed]

I am creating custom Task VF page with same functionality as in standard page But how do I create Recurrence section and reminder section and write controller for these two sections so that task is ...
0
votes
1answer
17 views

No clean data columns available for custom fields - Erro while creating a new Custom Field

I am getting this error when I try to create a new custom field, in my Task object, in a sandbox org. I should mention that I previously erased a field, to open space for this new custom field, ...
1
vote
1answer
13 views

What is the proper way for handling tasks for a Queue?

What is the proper way to handle tasks when a Case belongs to a Queue? In my scenario I would have Dept#1User creating a case which kicks off a workflow and updates the owner of the case to the queue ...
0
votes
1answer
38 views

Package installation fails to org's with Shared Activies disabled. “Invalid field TaskWhoIds for SObject Task”

I have a problem where the package installation fails to organisations that has Shared Activity disabled. As far as I understand the case is that TaskWhoIds is not available on orgnaisations that has ...
1
vote
2answers
47 views

Cannot query all Tasks with different onwerID

I need to delete all tasks (Activity object) with a Set ownerId. I noticed that when I write query on Developer Console for getting task records and I can get 10 records, but when I write query on ...
3
votes
1answer
141 views

Send email notification when task is created

Task t = new Task(); t.WhatId = 'custom object Id'; t.OwnerId = 'userid'; t.Subject = 'Test'; t.Priority = 'High'; t.Status = 'Test Status'; t.Description = 'Test Note.Description__c'; ...
0
votes
1answer
15 views

Set Task type to Empty

How to set the type of the Task to empty value using SOAP API? While creating Task when I set the empty string - SF just takes the default value for the organization.
1
vote
4answers
54 views

Avoid Creating duplicate task

Below code is working really fine, but the problem I am facing is the task is related to contact twice. List<Task> cvTask = new List<Task>(); Task cv; String[] ...
1
vote
1answer
20 views

upserting a task using database.upsert

I am actually upserting a task using the Database.upsert method, but getting the following errors when compilling : Upsert require a concrete SObject type. my code is as follow : ...
1
vote
0answers
38 views

Does SalesForce store HTML version of email sent using 'Send an Email' button in activity history?

Whenever I send email using 'Send an Email' button in activity history section, SF allows me to format it like HTML email and user receives HTML formatted email as well. However, when I later want to ...
0
votes
1answer
24 views

Queries on task creation

Below is the code that I use for task creation Task cv = new Task(); cv.Subject = 'Email:' + EmailSubject; cv.WhoId = toContactId; cv.WhatId = OppId; cv.Status ...
1
vote
1answer
37 views

Best way to prevent reassignment of tasks on account ownership change?

I was hoping to see if anyone had found a good solution for preventing open tasks from being reassigned when an account's owner changes. I've seen some options as triggers, but the few I've tried ...
4
votes
1answer
61 views

Query and Follow Owner Relationship on Tasks

I actually can't believe I've not come across this before now, but is there a way of following on the owner relationship on a Task to get some other field on the User object? For an example, say on ...
1
vote
0answers
11 views

Data Usage Forecasting

The company I work for is quickly approaching their data storage limit. Thinking about upgrading their storage. However before hand they are trying to estimate out how much they might need. I can see ...
2
votes
1answer
50 views

Task owner not changing

I am facing an issue related to task ownership. I have a workflow on lead which creates a task when a lead is created. When the lead is reassigned to other user, task will also be reassigned however, ...
0
votes
0answers
9 views

How can I retrieve all of my authenticated user tasks?

How can I retrieve all of my authenticated user tasks? I have successfully authenticated using OAuth 2.0 and got his access_token. I have searched for this kind of resource at the REST and SOAP API's ...
3
votes
1answer
18 views

Autocompleting a task upon a note uploaded in a related account?

so I have accounts that receive notes from an external source. This kind of account will always have a case attached to it, that has the same set of tasks each time. How would I be able to make a case ...
2
votes
1answer
80 views

Unable to create task for a Case: insufficient privileges

Situation: OWD for both Account and Case set to Private. I create an Account, then click New Task. No problem. Next, I create a Case, click New Task: insufficient priviliges. What am I missing here? ...
0
votes
2answers
46 views

Query of Tasks for Custom Object

I have a list of Custom Objects, created by customers each day - they can be considered like trouble tickets. Against each one, is a Task created when our agents make an outbound call back to the ...
0
votes
1answer
90 views

How to override the standard page only for specific record Type?

I have a new custom VF page for the button Log a call but I want to use this page only when user selects the General Inquiry for everything else it should go to standard page. How do I do this? ...
3
votes
1answer
61 views

How to show inputField as just text on the VF page?

How to show apex:inputField on the VF page with pre-defined value as just text: In the below screenshot, the task status is shown as 'Completed', I want to do the same on the VF page that I am ...
1
vote
0answers
55 views

Customizing the Log a call Task Page

How to make Type, Call Disposition and Comments fields mandatory for tasks with status completed vs tasks with status not started. I know it can be done by having validation rules, but that won't ...
1
vote
0answers
288 views

Lookup Field on Custom Object related to Activity (Task) (aka create a related list on Activities/Tasks)

This question seems to have been also asked here: Tasks and events custom related list with no resolution. I have the ZenKraft Shipmate UPS package installed in my organization, and I'm looking to ...
0
votes
1answer
47 views

Create a Task on Lead Conversion

I have a workflow setup to create a task on lead conversion, However it does not seem to be firing.
0
votes
2answers
113 views

How to get the email address from the record Owner in a map? [closed]

Requirement: When a task is created for a Lead or Contact check if the Description contains the email address of the Lead/Contact Owner. This is a method I am calling from a trigger. // ListEmail ...
1
vote
0answers
20 views

Distinguish between Log a Call and normal Task

I am trying to distinguish when we create a task using "Log a Call" vs when I create a normal task for suppose a Lead record. Currently I am not able to find any way to distinguish between these two. ...
1
vote
3answers
46 views

Task Trigger with two conditions

Please help, I am trying to write a task trigger for an Opportunity. I could not create a workflow because one of the fields is a look up. I would like to create a task to advise the user they ...
1
vote
1answer
80 views

Strange Behavior with Log A Call Button When Creating Follow Up Task

I'm encountering some rather odd behavior when using the standard Log A Call button. Basically when creating tasks, I want to take some information from the task itself, and update the related ...
1
vote
0answers
72 views

send-email option from activity history; How to populate contacts list view on custom object record?

How could I populate the contacts list view for a custom object record when I click the CC link on send-email page from a activity history related list? I am able to see that list view on Accounts but ...
3
votes
1answer
86 views

Assigning Tasks to Related User

We have been trying to assign a task to our Sales Engineers (Lookup Field on opp), they are not the Opp owner. The Sales Engineers are assigned to Opps in their own field once it reaches a specific ...
0
votes
0answers
17 views

Restricting Contact Lookup on a Log A Call Task

We create a Log A Call task from the Account, so the account field is usually populated. When I choose the contact, I want to filter the contacts to just those that are related to the account. Is this ...
0
votes
0answers
24 views

Salesforce1 Tasks Stripped through when complete

Our clients are using the Salesforce1 app and lots of closed tasks. Tasks are stripped through on Salesforce1 app when they are marked complete. Our clients are complaining that they are not able to ...
2
votes
0answers
80 views

assigning multiple users to a task using Apex Code

I need to create a new task by using Apex Code and I want to set "Assign To" field with multiple users and "Notify Assignee" field to 'true'. But I don't know how to do that by using Apex Code. Could ...
2
votes
2answers
42 views

How to clear the custom field on contact when there is Activity History?

I need to reset a custom field on the contact object when there is an Activity History of some type. Should I write trigger on the Task Object or on the Contact object? If I write a trigger on the ...
1
vote
1answer
55 views

Task email notification doesn't send sometimes

i've searched for info but still can't figure out why this is happening. I'm also at the moment with a case open on salesforce and me&support are trying to figure out what is happening. As you ...
2
votes
0answers
137 views

Custom Visualforce Page for Shared Activities

I'm trying to create an inline Visualforce page to substitute for the standard 'Name' related list on Shared Activities. The problem I am trying to solve is getting more information that just the ...
1
vote
1answer
16 views

Can a Completed task be edited?

Excuse me if this is an "obvious" question, but I cannot find a clear answer anywhere. If a user has edit access to a Task, can that Task still be edited when the status changed to 'Completed' and ...
2
votes
1answer
187 views

How to wrap record id as a link to the record while sending email

I am writing trigger to send email to task owner after task got created.In the mail i was sending recordId as a plain text.But i was trying is there any way to make the id as a link to the related ...
2
votes
1answer
19 views

Is there any way to have a Case workflow rule create a task with WhatID set as the triggering Case's AccountID?

I have a workflow rule on the Case object that is supposed to create a task, but I want to associate the task with the Account that the Case belongs to, not to the Case itself. I have seen that I ...
2
votes
1answer
153 views

Task completed: Email Alert

I have a Service Cloud in which: a User A owns a Case X; a User B receives a call about the Case X; the User B creates a task of type "urge" on the Case X and sets it as "completed" (the User A is ...
1
vote
1answer
45 views

API OF Task In Activity? [closed]

i want to create page same as show in image . i need task field in my page so anyone help me to know what is task API name ? "select id, Subject, Who.Name,IsTask,ActivityDate,Status, ...
1
vote
0answers
51 views

Workflow rule to create Task not working - help?

I have a Workflow rule that fires upon the creation of a Case when it meets a certain field criterion. It is set up to both send an email to a support rep, and also create a Task for her at the same ...
4
votes
2answers
109 views

List has no rows for assignment: Trigger that shouldn't fire when there are no rows

sorry for the vague title. Essentially, I have a trigger I've created to change ownership of an opportunity based on some business rules our company has. When a sales user places a call to a ...
0
votes
0answers
17 views

Email alerts when task follow up day matches today

I have a requirement to send email alerts to the user for whom the task was assigned when the follo-up date on task matches today. But seems to be there is no option for such type of workflows on ...