public static void writePropertiesWorkflow(ArrayList<String> tl, GenerateCommon gc){
        ArrayList<String> srcTlf=new ArrayList<String>();
        MyArrayList<String> srcWf=new MyArrayList<String>();
        ArrayList<String> odsTlf=new ArrayList<String>();
        MyArrayList<String> odsWf=new MyArrayList<String>();

        for (int i = 0; i < tl.size(); i++) {
            String index=((i+offset)<10?"0"+Integer.toString(i+offset):Integer.toString(i+offset));
            srcTlf.add(index+"_src_load_"+tl.get(i));
            srcWf.add("src_"+index+"_load_"+tl.get(i));
            odsTlf.add(index+"_ods_load_"+tl.get(i));
            odsWf.add("ods_"+index+"_load_"+tl.get(i));
        }

        writeSrcProperties(projectName,srcTlf,srcWf);
        writeOdsProperties(projectName+"-ods",odsTlf, odsWf);

        if(tl.size()>WORKFLOW_MAX_NODE){
            ArrayList<String> mainWf=new ArrayList<String>();
            int subs=(int)Math.ceil(tl.size()/WORKFLOW_MAX_NODE);
            for (int i = 0; i < subs; i++) {
                String index=((i+1)<10?"0"+Integer.toString(i+1):Integer.toString(i+1));
                mainWf.add("sub-"+index+"-workflow");
            }
            gc.writeMainWorkflow(projectName, mainWf,srcWf,odsWf,parallelLines);
        }else{
            gc.writeSrcWorkflow(projectName, projectName, srcWf, parallelLines,"workflow", false);
            gc.writeOdsWorkflow(projectName + "-ods", projectName + "-ods", odsWf, parallelLines, "workflow", false);
        }
    }