02-13-2011 05:09 PM
<transition name="Geologia" to="geologiaTask">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<runas>admin</runas>
<script>
<expression>
var documento = bpm_package.children[0];
documento.properties[cv:tutor]="Jose Mesa";
documento.properties[cv:departamento]="Geologia";
documento.save();
</expression>
</script>
</action>
</transition>
02-14-2011 11:06 AM
documento.save();
02-14-2011 01:42 PM
02-15-2011 10:39 AM
<transition name="Aprobar" to="submitSerialReview">
<script>
<variable name="apbcal_approveCnt" access="read, write"/>
<expression>
apbcal_approveCnt = apbcal_approveCnt + 1;
</expression>
</script>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<!– Si el aprobador aprueba el documento, se guarda la fecha de homologación especificada o
la que ya trae por defecto –>
bpm_package.children[0].properties["calidad:fechaHomologacion"] = apbcal_fecha;
bpm_package.children[0].save();
</script>
</action>
</transition>
02-15-2011 11:38 AM
02-15-2011 06:28 PM
02-25-2011 04:57 AM
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.