Announcement

Collapse
No announcement yet.

Scheduled Workflow not updating Entity if its parent was deleted

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

  • Scheduled Workflow not updating Entity if its parent was deleted

    Hi, I have a Scheduled Workflow which updates Email attribute 'deleted' to 'true'. It works fine if Email parent Case is not deleted, but workflow not updating Email if its parent is Case and this Case is deleted.
    I am attaching a Workflow screenshot.
    Attached Files

  • #2
    It is normal hence your report has a condition to fetch only email of existing Cases so this would happen. Best way is to have a custom hook for Case (afterRemove) and just remove related email otherwise it won't work on the workflow or bpmn hence they both need access to the parent record.

    Comment

    Working...
    X