Jam.py documentation

on_created

on_created(task)

domain: server

language: python

class Task class

Description

Use on_created to initialize the application on the server side.

The event is triggered when the project task tree has just been created. See Workflow

The task parameter is a reference to the 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

def on_created(task):
    # some code