add_initial_tasks

add_initial_tasks(search_key, pipeline_code=None, processes=[], skip_duplicate=True, offset=0)

Add initial tasks to an sobject

param:

search_key - the key identifying a type of sobject as registered in

the search_type table.

keyparam:

pipeline_code - override the sobject’s pipeline and use this one instead

processes - create tasks for the given list of processes

skip_duplicate - boolean to skip duplicated task

offset - a number to offset the start date from today’s date

return:

list - tasks created