11-19-2009 05:35 AM
Please correct the errors below then click OK.
A system error happened during the operation: 10190020 Failed to execute script 'workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e': 10190019 Invalid Global Id 'scwf:Achat——OT'
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "scwf:Achat——OT";
workflow.parameters["bpm:workflowDescription"] = document.name;
workflow.parameters["bpm:assignee"] = person;
workflow.execute(document);11-19-2009 08:08 AM
11-19-2009 10:29 AM
11-20-2009 04:13 AM
11-20-2009 05:42 AM
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "scwf:Achat——OT";
workflow.parameters["wf:Analyst"] = "admin";
workflow.parameters["wf:analyst"] = "admin";
workflow.parameters["wf:project_manager"] = "admin";
workflow.execute(document);var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "scwf:Achat——OT";
workflow.parameters["bpm:workflowDescription"] = document.name;
workflow.parameters["bpm:assignee"] = person;
workflow.execute(document);<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="scwf:Achat——OT">
<!– fdf
g
gt
fg–>
<!–Definition des swimlanes************************************************************************************–>
<swimlane name="initiator"></swimlane>
<swimlane name="demandeur">
<assignment actor-id="demandeur"/>
</swimlane>
<swimlane name="rAchat">
<assignment actor-id="rAchat"/>
</swimlane>
<swimlane name="fournisseur">
<assignment actor-id="fournisseur"/>
</swimlane>
<swimlane name="dAchat">
<assignment actor-id="dAchat"/>
</swimlane>
<swimlane name="dFinancier">
<assignment actor-id="dFinancier"/>
</swimlane>
<!–Definition du processus************************************************************************************–>
<start-state name="start">
<task name="scwf:submitDAI" swimlane="initiator"/>
<transition to="Submit" name="Lancer un Achat"></transition>
</start-state>
<task-node name="Submit">
<!–task name="scwf:submitDAII" swimlane="initiator"/–>
<transition to="validationDAI" name="Demande d'Achat Interne">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "Expression d'un besoin: DAI";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Vous venez de recevoir une demande d'Achat Interene - demandeur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="validationDAI">
<task name="scwf:validationDAI" swimlane="rAchat"/>
<transition to="Revise-DAI" name="DAI non valide">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail a demandeur –>
<script>
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "DAI rejetee";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Votre Demande d'Achat Interne a ete rejetee. Vous devez la refaire.- rAchat to demandeur";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="submit-DDevis" name="valider">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au demandeur –>
<script>
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "DAI validee";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Votre Demande d'Achat Interne a ete validee. Vous devez la refaire.- rAchat to demandeur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="Revise-DAI">
<task name="scwf:reviseDAI" swimlane="initiator"></task>
<transition to="Submit" name="Couriger le DAI"></transition>
<transition to="end-state1" name="Annuler l'Achat">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail a assignee1 –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "Achat Annule";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "la DAI est annulee apres la non validation de DAI par le responsable d'Achat - demandeur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="submit-DDevis">
<task name="scwf:submitDDevis" swimlane="rAchat"></task>
<transition to="devisFournisseur" name="Envoyer la demande des Devis">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au fournisseur –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "demande de devis";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Vous venez de recevoir une demande de de vevis - rAchat to fournisseur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="devisFournisseur">
<task name="scwf:devisFournisseur" swimlane="fournisseur"></task>
<transition to="devis et BCI" name="Envoyer Le DEVIS">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "Devis";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Vous venez de recevoir un devis - from fournisseur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="devis et BCI">
<task name="scwf:devisEtBCE" swimlane="rAchat"></task>
<transition to="validationDevisBCI" name="Envoyer devis et BCI au Demandeur">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au demandeur –>
<script>
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "devis et BCI";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un devis et un BCI pour les valides -rAchat to demandeur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="validationDevisBCI">
<task name="scwf:validationDevisBCE" swimlane="demandeur"></task>
<transition to="submit-BCI" name="valider DEVIS ET BCI">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "devis et BCI valides";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Le devis et le BCI sont valides par le demandeur -demandeur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="submit-DDevis" name="refuser DEVIS ET BCI">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "devis et BCI refuses";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Le devis et le BCI sont refuses par le demandeur -demandeur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="end-state1" name="Annuler l'Achat">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "Achat Annule";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Le demandeur a refuse le DEVIS et la BCI, et il a annule l'achat - demandeur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="submit-BCI">
<task name="scwf:submitBCI" swimlane="rAchat"></task>
<event type="node-enter">
<script>
<variable name="approveBCI" access="read,write"/>
<expression>
approveBCI=0;
</expression>
</script>
</event>
<transition to="fork1"></transition>
</task-node>
<fork name="fork1">
<transition to="BCI-DAchat" name="BCI-DA">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au DAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "demande de validation de BCI";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un BCI pour le valide - rAchat to dAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="BCI-DFinancier" name="BCI-DF">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au DFinancier –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "demande de validation de BCI";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un BCI pour le valide - rAchat to dFinancier";
mail.execute(bpm_package);
</script>
</action>
</transition>
</fork>
<task-node name="BCI-DAchat">
<task name="scwf:BCI-DAchat" swimlane="dAchat"></task>
<transition to="join1" name="valider le BCI">
<script>
<variable name="approveBCI" access="read,write"/>
<expression>
approveBCI = approveBCI + 1;
</expression>
</script>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAChat–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BCI refuse par D.Achat";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Le BCI est refuse par le Directeur d'Achat - dAchat to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="join1" name="refuser le BCI"></transition>
</task-node>
<task-node name="BCI-DFinancier">
<task name="scwf:BCI-DFinancier" swimlane="dFinancier"></task>
<transition to="join1" name="valider le BCI">
<script>
<variable name="approveBCI" access="read,write"/>
<expression>
approveBCI = approveBCI + 1;
</expression>
</script>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAChat–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BCI refuse par D.Achat";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Le BCI est refuse par le Directeur Financier - dFinancier to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="join1" name="refuser le BCI"></transition>
</task-node>
<join name="join1">
<transition to="decision" name="decision"></transition>
</join>
<decision name="decision">
<transition to="revise-BCI" name="reject"></transition>
<transition to="submit-BCE" name="BCI-valide">
<condition>#{approveBCI == 2}</condition>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BCI valide";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Le Bon de Comande Interne a ete valide par le D.Achat et le D.Financier.- systeme to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</decision>
<task-node name="revise-BCI">
<task name="scwf:raviseBCI" swimlane="rAchat"></task>
<transition to="submit-BCI" name="submit"></transition>
<transition to="end-state1" name="done-BCI">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat–>
<script>
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "Annulation d'Achat par la direction";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "l'achat est annule par la direction Achat ou Financier.- rAchat to demandeur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="submit-BCE">
<task name="scwf:submitBCE" swimlane="rAchat"></task>
<transition to="BCE-DAchat" name="Envoyer BCE au DAchat">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au dAchat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "demande de validation de BCE";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un BCE pour le valide - rAchat to dAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="BCE-DAchat">
<task name="scwf:BCE-DAchat" swimlane="dAchat"></task>
<transition to="revise-BCE" name="Refuser le BCE">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAChat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BCE refuse par le DAchat";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Le BCE est refuse par la direction d'Achat - dAchar to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="BCE-to-Fournisseur" name="Valider le BCE">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAChat –>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BCE VAlide par le DAchat";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Le BCE est valide par la direction d'Achat - dAchar to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="revise-BCE">
<task name="scwf:reviseBCE" swimlane="rAchat"></task>
<transition to="submit-BCE" name="Envoyer BCE modifie"></transition>
<transition to="end-state1" name="done-BCE">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail audemandeur –>
<script>
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "BCE refuse par le DAchat";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "L'Achat est annule par la direction d'Achat - rAchat to demandeur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="BCE-to-Fournisseur">
<task name="scwf:BCE-Fournisseur" swimlane="rAchat"></task>
<transition to="BL" name="Envoyer BCE au Fournisseur">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au fournisseur–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "demande d'un BL";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un BCE pour le valide - rAchat to fournisseur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="BL">
<task name="scwf:BL" swimlane="fournisseur"></task>
<transition to="validation-BL-RA" name="Envoyer BL au RAchat">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "demande d'un BL";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un BL de fournisseur pour le valide - fournisseur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="validation-BL-RA">
<task name="scwf:BL-RAchat" swimlane="rAchat"></task>
<transition to="BL" name="BL non Accepte">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au fournisseur–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BL refuse par le R Achat";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Le BL envoye est refuse - rAchat to fournisseur";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="validation-BL-Demandeur" name="valider BL">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au demandeur–>
<script>
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "demande de validation de BL";
mail.parameters.from = "moughaoui@opencrm.com";
mail.parameters.text = "Vous venez de recevoir un BL pour le valide - rAchat to demandeur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="validation-BL-Demandeur">
<task name="scwf:BL-Demandeur" swimlane="demandeur"></task>
<transition to="derniereTache" name="Valider le BL">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au rAchat–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BL valide par le demandeur";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Le BL est valide par le demandeur - demandeur to rAchat";
mail.execute(bpm_package);
</script>
</action>
</transition>
<transition to="validation-BL-RA" name="BL non Accepte">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<!– Envoie du mail au fournisseur–>
<script>
var mail = actions.create("mail");
mail.parameters.to = "moughaoui@opencrm.com";
mail.parameters.subject = "BL refuse par le R Achat";
mail.parameters.from = initiator.properties.email;
mail.parameters.text = "Le BL envoye est refuse par le demandeur - demandeur to fournisseur";
mail.execute(bpm_package);
</script>
</action>
</transition>
</task-node>
<task-node name="derniereTache">
<task name="scwf:Fin" swimlane="rAchat"></task>
<transition to="end-state1" name="Valider l'Achat"></transition>
</task-node>
<end-state name="end-state1"></end-state>
</process-definition>10:45:46,885 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: 10200025 Failed to execute script 'workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e': 10200024 Invalid Global Id 'scwf:Achat——OT'
org.alfresco.scripts.ScriptException: 10200025 Failed to execute script 'workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e': 10200024 Invalid Global Id 'scwf:Achat——OT'
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:228)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:301)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:229)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy216.executeScript(Unknown Source)
at org.alfresco.repo.action.executer.ScriptActionExecuter.executeImpl(ScriptActionExecuter.java:170)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)
at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:72)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:648)
at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:510)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:301)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:229)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy24.executeAction(Unknown Source)
at org.alfresco.repo.rule.RuleServiceImpl.executeRule(RuleServiceImpl.java:928)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleServiceImpl.java:896)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleServiceImpl.java:867)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServiceImpl.java:840)
at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTransactionListener.java:63)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:716)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:696)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:656)
at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:645)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)
at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:467)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:340)
at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:130)
at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:534)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)
at sun.reflect.GeneratedMethodAccessor526.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy190.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)
at sun.reflect.GeneratedMethodAccessor526.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy190.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.service.cmr.workflow.WorkflowException: 10200024 Invalid Global Id 'scwf:Achat——OT'
at org.alfresco.repo.workflow.BPMEngineRegistry.getGlobalIdParts(BPMEngineRegistry.java:174)
at org.alfresco.repo.workflow.BPMEngineRegistry.getEngineId(BPMEngineRegistry.java:187)
at org.alfresco.repo.workflow.WorkflowServiceImpl.getDefinitionByName(WorkflowServiceImpl.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:301)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:229)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy44.getDefinitionByName(Unknown Source)
at org.alfresco.repo.workflow.StartWorkflowActionExecuter.executeImpl(StartWorkflowActionExecuter.java:123)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:648)
at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:510)
at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:498)
at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:719)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:301)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:229)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy24.executeAction(Unknown Source)
at org.alfresco.repo.jscript.ScriptAction.execute(ScriptAction.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c5._c0(workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e:6)
at org.mozilla.javascript.gen.c5.call(workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c5.call(workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e)
at org.mozilla.javascript.gen.c5.exec(workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:449)
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:224)
… 111 more11-20-2009 05:45 AM
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "scwf:Achat——OT";
10:45:46,885 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: 10200025 Failed to execute script 'workspace://SpacesStore/1bad3d0c-7b70-4f33-b959-c7b6c445687e': 10200024 Invalid Global Id 'scwf:Achat——OT'
11-20-2009 05:54 AM
11-20-2009 06:09 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.