An event that triggers when a new task is created.
The onTaskCreated()
event handler runs when a new task is created. The received TaskCreated
object contains information about the task that was created.
Note: Backend events don't work when previewing your site.
Information about the task that was created and metadata for the event.