function of generating workflow config file in server part of testing-scheduler