End Action
This form script is executed on the server when the editor has completed a job. In this script, for example, a successor job can be created with the script function routeToGroupByName. In this way you can easily create multilevel workflows in todo4teams. The following example automatically generates another todo:
var minutes = 20;
var toGroup = 17;
var owner = 0;
var id = helper.createTask(toGroup, "Create!","Just do it!", minutes, owner, null,null);
var toGroup = 17;
var owner = 0;
var id = helper.createTask(toGroup, "Create!","Just do it!", minutes, owner, null,null);