Announcement

Collapse
No announcement yet.

To get task updated after updating parent Lead

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • To get task updated after updating parent Lead

    Hi, I've got stuck with the following case:
    When new Lead is saved I have corresponding task created (in hook, inside "beforeSave" function).
    In case I need to update the Lead, already created task needs to be updated as well. Task name is generated using data from Lead.
    How can I get already existing task name to update it?
    Last edited by Anatoleq; 12-18-2018, 03:37 AM.

  • #2
    Hello,
    did you save this related task id somewhere or maybe this lead has only one task?
    you can get this task entity, modify it and save. we just need to define the way, how to find this task

    Comment

    Working...
    X