<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>
documento.save();
<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>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.