02-27-2012 08:50 AM
02-28-2012 10:03 AM
02-28-2012 11:12 AM
<beans>
<bean id="qualiteworkflow.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">jbpm</prop>
<prop key="location">
alfresco/extension/monworkflow-definition-workflow.xml
</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">true</prop>
</props>
</list>
</property>
</bean>
</beans>
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:reviewpooled";
workflow.parameters["bpm:workflowDescription"] = "Veuillez approuver pour publication : " + document.name;
workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_Mon_Groupe");
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 7);
workflow.parameters["bpm:workflowDueDate"] = futureDate;
workflow.execute(document);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.