========== on_created ========== on_created(task) **domain**: server **language**: python **class** :doc:`Task class ` Description =========== Use ``on_created`` to initialize the application on the server side. The event is triggered when the project :doc:`task tree ` has just been created. See :doc:`Workflow ` The ``task`` parameter is a reference to the :doc:`task tree ` .. note:: The execution time of the code in this handler must be very short because of detrimental effects to the end user's experience. Example ======= .. code-block:: py def on_created(task): # some code See also ======== :doc:`Workflow ` :doc:`Task tree `