cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow start script not working 2.0 preview

pascalt
Champ in-the-making
Champ in-the-making
Hi,

I've downloaded alfresco 2.0 preview.
When i try to execute the WIKI example to start a workflow, i get an error which says it can't read property parameters from null (var workflow) at line 2.
What can be wrong or is this a bug?

var workflow = actions.create("start-workflow");workflow.parameters.workflowName = "jbpm$wf:review";workflow.parameters["bpm:workflowDescription"] = document.name;workflow.parameters["bpm:assignee"] = person;var futureDate = new Date();futureDate.setDate(futureDate.getDate() + 7);workflow.parameters["bpm:workflowDueDate"] = futureDate; workflow.execute(document);‍‍‍‍‍‍‍‍‍‍
1 REPLY 1

davidc
Star Contributor
Star Contributor
This has been fixed in SVN HEAD.