AnsweredAssumed Answered

Move space after advanced workflow.

Question asked by vidya.r on Aug 31, 2009
Latest reply on Sep 4, 2009 by vidya.r
Hi Anyone,

I am calling a group_parallel review workflow for a space through javascript as given below…


var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:parallelgroupreview";
workflow.parameters.requiredApprovePercent = 20;
workflow.parameters["bpm:workflowDescription"] = "Please review and approve: " + document.name;
workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_reviewers");


I have applied the rule to type = space. So anytime a new space is added, the reviewers get the the task.
But once the task is completed or the workflow is done I want to move the space to another location or space.
How can I go about this?  Can anyone help?

Can I do this through script in the workflow definition?

Outcomes