You need to sign in to do that
Don't have an account?

Apex/Process Builder - Create Case When Task Created and Populate the Related To field with the Case Id
Hi,
Is there a way, either through apex/process builder, to create a case when a task record is created and populate the newly created case record in the related to field?
Is there a way, either through apex/process builder, to create a case when a task record is created and populate the newly created case record in the related to field?
You can achieve this with a simple process builder.
Just goto process builder then in object Select "Task" then in criteria just give name and select No criteria—just execute the actions! Then in immediate actions select "CREATE A RECORD" in add action then in RECORD TYPE Select Case then in fields just map case fields to whatever task fields you want.
Then activate it.
Mark it as best, if it solves your problem.
The issue is that when the case is created, I require the case id to be updated on the task record. The process builder you have sent over simply creates the case, but there is no relationship to the task record. Do you know if this is possible?