AnsweredAssumed Answered

How to progress advanced workflow in javascript?

Question asked by raarm on Jan 28, 2008
Latest reply on Feb 15, 2008 by raarm
I´m starting with:

 var space = companyhome.childByNamePath("Teste/Docs Teste"); 
  var date = new Date();
  var file = space.createFile("Teste1("+date.getMilliseconds()+").sdf");
  var workflow = actions.create("start-workflow");
   workflow.parameters.workflowName = "jbpm$wf:apdprocess";
   workflow.parameters["bpm:workflowDescription"] = "APDigital";
        
         workflow.parameters["bpm:groupAssignee"] = "GROUP_CONSTRUCAP";

   workflow.parameters["bpm:workflowDueDate"] = date;
   workflow.execute(file);

how to make the transitions with this?

Outcomes