1

I have got requirement where I want to create task on Account object as soon as someone creates on case record. In general I want to list all tasks from several Cases under one account. Is there any out of the box way in salesforce to do that? For example attachment can automatically associate with account if attached in any case because of account case parent-child relationship. Is the same thing possible in Task?

5
  • You can do a trigger after insert on Case. Get the Account from the Case record. Create Task with WhatId = the account that you got from the case.
    – S..
    Dec 15, 2016 at 19:12
  • Trigger on Case? Or trigger on task?
    – Ricky
    Dec 15, 2016 at 20:04
  • On Case, 'cause you want to create a Task after creating a Case. So, the trigger will be an after insert on Case.
    – S..
    Dec 16, 2016 at 7:03
  • Or process builder as said in answer below.
    – S..
    Dec 16, 2016 at 7:04
  • Oh, sorry for misunderstanding. I want to create task on account when someone create task on a Case object. So account will display all the task from its child cases. While individual case will only display task related to that particular Case record.
    – Ricky
    Dec 16, 2016 at 14:26

1 Answer 1

2

You can do this via Process Builder on creation of a case.

Object: Case
Run on Creation
No criteria, always run
Action: Create Record (task)
    Related To ID: Reference [Case}.AccountId
    Status: Closed
1
  • Oh, sorry for misunderstanding. I want to create task on account when someone create task on a Case object. So account will display all the task from its child cases. While individual case will only display task related to that particular Case record.
    – Ricky
    Dec 16, 2016 at 14:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .