def trg_create(uid, res_type, res_id, cr):
 return WorkflowService.new(cr, uid, res_type, res_id).create()

def trg_create ( uid , res_type , res_id , cr ) : return WorkflowService . new ( cr , uid , res_type , res_id ) . create ( )
create a new workflow instance .