You need to sign in to do that
Don't have an account?
How to retrieve the in progress and completed activities of an account?
Hi there, if (Trigger.isDelete){ tasks= Trigger.new; } |
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi there, if (Trigger.isDelete){ tasks= Trigger.new; } |
Here is the query
select id from Task where whatId in :accountIds and Status not in ('Completed','In Progress')
This will retrieve all the tasks which are related to this account where the status not in Completed and In Progress
All Answers
Here is the query
select id from Task where whatId in :accountIds and Status not in ('Completed','In Progress')
This will retrieve all the tasks which are related to this account where the status not in Completed and In Progress
Hi Srini,
First of all thanks very much for your help, it was really useful.
I have another new problem that I will open in a new discussion.