AnsweredAssumed Answered

[Résolu] Erreur Java à l'ouverture d'une tâche

Question asked by leyer on Dec 7, 2009
Latest reply on Dec 7, 2009 by leyer
Salut tout le monde c'est encore moi :)
Je rencontre un autre problème et crée un sujet plus en relation avec celui ci.
Après avoir déployer mon WF avancé sans encombre.
Lorsque je veux entrer dans une tâche qui m'a était attribué voici le message que j'obtiens.
GRAVE: "Servlet.service()" pour la servlet Faces Servlet a g�n�r� une exception
java.lang.IllegalStateException: Client-id : transition_Tx00e2_chex0020_Achevx00e9_e is duplicated in the faces tree. Component : dialog:transition_Tx00e2_chex0020_Achevx00e9_e, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/dialog/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: dialog][Class: org.alfresco.web.ui.repo.component.UIDialogButtons,Id: dialog-buttons][Class: javax.faces.component.html.HtmlCommandButton,Id: transition_Tx00e2_chex0020_Achevx00e9_e]}
   at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:329)
   at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:341)
   at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:338)
   at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:341)
   at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:286)
   at org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:125)
   at org.apache.jsp.jsp.dialog.container_jsp._jspService(container_jsp.java:707)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
   at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
   at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
   at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
   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.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:585)
   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 $Proxy208.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.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:585)
   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 $Proxy208.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:595)

Je pense que cela viens de mon model qui n'est pas bien mis en relation avec mon WF car je n'arrive pas a renommer mes tâches de cette façon la :
scwf_workflowmodel.type.scwf_acceptationDirection.title=Acceptation de la direction
mais cela fonctionne de la facon traditionnelle :
scwf_boreal.task.scwf_acceptationDirection.title=Acceptation de la direction

Voici mon model et mon WF :
<?xml version="1.0" encoding="UTF-8"?>

<model name="scwf:boreal" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <description>Boreal Content Model</description>
   <author>Adrien Russo</author>
   <published>2009-12-07</published>
   <version>1.0</version>

  <imports>
   <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
    <import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
   
  </imports>

  <namespaces>
    <namespace uri="http://www.alfresco.org/model/boreal/1.0" prefix="scwf"/>
  </namespaces>
  <types>
      <!– Model boreal begin –>
      <type name="scwf:venteMaison">
         <parent>bpm:startTask</parent>
      </type>
      <type name="scwf:acceptationDirection">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:revisionContrat">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:coteEntree">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:esquissePromoteur">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:esquisse">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:depotPromoteur">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>edit_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:depotConstructeur">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>edit_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:acceptationFinancement">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>edit_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:promesseAchat">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:rdvNotaireTerrain">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:rdvNotaireMaison">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:ouverturePapier">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:ouvertureAlfresco">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:ouvertureOutlook">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixBardeau">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixPorteEtFenetre">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixRevExterieur">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:certificatImplantation">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:acceptionCertImplantation">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:chequePourPermis">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:demandePermis">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:remplirContratQh">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:enregistrementQh">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:acceptationPlansFinaux">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:plansPourConstruction">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:declarationCsst">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:declarationCcq">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:confirmationAssurances">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:dossierOriginaux">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:ouvertureHq">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:fernetureHq">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:testEtancheite">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:inscriptionNovoclimat">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:inspectionNovoClimatA">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:certificationNovoclimat">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:certificationLocalisation">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:inspectionPrereception">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:receptionZeroPointCinqPourcentInstBanc">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcBardeau">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcPortesEtFenetres">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcRevExterieur">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcPlansFinauxVsEsquisse">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixBoiseries">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcBoiseries">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixPlomberie">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcPlomberie">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixLuminaires">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcLuminaires">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixArmoires">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcArmoires">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixEscaliers">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcEscaliers">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixCeramique">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcCeramique">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:choixBoisFranc">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcBoisFranc">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:planPeinture">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcPeinture">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:autresChoix">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:odcAutresChoix">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:ouvertureHubbr">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:verificationPlansFinaux">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:signatureContratQh">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:ouvertureOriginaux">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:documentsNotaire">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:debourseFinal">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:preparerOdcFinaux">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:documentInstFinan">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:acceptationHypFinale">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:valPlanStructureVsCharpente">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:valDimensionFenetres">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:valPlomberieAvecPlan">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:valLuminairesAvecPlan">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:felicitationAuClient">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <type name="scwf:fournisseurChoix">
      <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>read_package_item_actions</default>
            </property>
         </overrides>
      </type>
      <!– Model boreal end –>
      
   </types>
 

</model>

<?xml version="1.0" encoding="UTF-8"?>

<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="scwf:boreal">
<swimlane name="initiator" />

   <swimlane name="Ventes">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Ventes')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Production">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Production')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Operations">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Operations')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Marketing">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Marketing')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Direction">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Direction')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Designer">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Designer')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Administration">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Administration')}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="Production">      
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_Achats')}</pooledactors>
      </assignment>
   </swimlane>


   <start-state name="Vente Maison">
      <task name="scwf:venteMaison" swimlane="initiator"></task>
      <transition to="Depot Vente"></transition>
   </start-state>


   <task-node name="Acceptation Direction">
      <task name="scwf:acceptationDirection" swimlane="Direction"></task>
      <transition to="Ferme" name=""></transition>
      <transition to="Refuse" name=""></transition>
      <transition to="Conditionnel" name=""></transition>
   </task-node>

   <node name="Ferme">
      <transition to="fork1"></transition>
   </node>

   <node name="Depot Vente">
      <transition to="Acceptation Direction"></transition>
   </node>

   <task-node name="Revision Contrat">
      <task name="scwf:revisionContrat" swimlane="Ventes"></task>
      <transition to="Depot Vente"></transition>
      <transition to="Vente Annulee" name=""></transition>
   </task-node>

   <node name="Refuse">
      <transition to="Revision Contrat" name=""></transition>
   </node>

   <node name="Vente Annulee">
      <transition to="end-state1"></transition>
   </node>

   <state name="Conditionnel">
      <transition to="Revision Contrat"></transition>
      <transition to="Vente Annulee" name=""></transition>
   </state>

   <task-node name="Cote Entree">
      <task name="scwf:coteEntree" swimlane="Architecture"></task>
      <transition to="Esquisse"></transition>
   </task-node>

   <task-node name="Esquisse Promoteur">
      <task name="scwf:esquissePromoteur" swimlane="Architecture"></task>
      <transition to="Novoclimat"></transition>
   </task-node>

   <task-node name="Esquisse">
      <task name="scwf:esquisse" swimlane="Architecture"></task>
      <transition to="Esquisse Promoteur"></transition>
   </task-node>

   <task-node name="Depot Promoteur">
      <task name="scwf:depotPromoteur" swimlane="Ventes"></task>
      <transition to="join1"></transition>
   </task-node>

   <task-node name="Depot Constructeur">
      <task name="scwf:depotConstructeur" swimlane="Ventes"></task>
      <transition to="join1"></transition>
   </task-node>

   <task-node name="Acceptation Financement">
      <task name="scwf:acceptationFinancement" swimlane="Ventes"></task>
      <transition to="join1"></transition>
   </task-node>

   <task-node name="Promesse Achat">
      <task name="scwf:promesseAchat" swimlane="Ventes"></task>
      <transition to="Acceptation hyp Finale"></transition>
   </task-node>

   <task-node name="RDV Notaire Terrain">
      <task name="scwf:rdvNotaireTerrain" swimlane="Administration"></task>
      <transition to="join4"></transition>
   </task-node>

   <task-node name="RDV Notaire Maison">
      <task name="scwf:rdvNotaireMaison" swimlane="Administration"></task>
      <transition to="RDV Notaire Terrain"></transition>
   </task-node>

   <task-node name="Ouverture Papier">
      <task name="scwf:ouverturePapier" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Ouverture Alfresco">
      <task name="scwf:ouvertureAlfresco" swimlane="Direction"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Ouverture Outlook">
      <task name="scwf:ouvertureOutlook" swimlane="Direction"></task>
      <transition to="join3"></transition>
   </task-node>

   <fork name="fork1">
      <transition to="Depot Promoteur"></transition>
      <transition to="Depot Constructeur" name=""></transition>
      <transition to="Acceptation Financement" name=""></transition>
   </fork>

   <join name="join1">
      <transition to="fork2"></transition>
   </join>

   <task-node name="Choix Bardeau">
      <task name="scwf:choixBardeau" swimlane="Designer"></task>
      <transition to="ODC Bardeau"></transition>
   </task-node>

   <task-node name="Choix Portes Fenetres">
      <task name="scwf:choixPorteEtFenetre" swimlane="Designer"></task>
      <transition to="ODC Portes et Fenetres"></transition>
   </task-node>

   <fork name="fork2">
      <transition to="Cote Entree"></transition>
      <transition to="fork5"></transition>
      <transition to="Felicitation au client" name="to task-node1"></transition>
   </fork>

   <task-node name="Choix Rev Exterieur">
      <task name="swcf:choixRevExterieur" swimlane="Designer"></task>
      <transition to="ODC Rev Exterieur"></transition>
   </task-node>

   <task-node name="Certificat implantation">
      <task name="scwf:certificatImplantation" swimlane="Ventes"></task>
      <transition to="Acception Cert Implantation"></transition>
   </task-node>

   <task-node name="Acception Cert Implantation">
      <task name="scwf:acceptionCertImplantation" swimlane="Ventes"></task>
      <transition to="Cheque pour permis"></transition>
   </task-node>

   <task-node name="Cheque pour permis">
      <task name="scwf:chequePourPermis">
         <assignment actor-id="fgelinas2"></assignment>
      </task>
      <transition to="Demande Permis"></transition>
   </task-node>

   <task-node name="Demande Permis">
      <task name="scwf:demandePermis" swimlane="Ventes"></task>
      <transition to="join4"></transition>
   </task-node>

   <task-node name="Remplir Contrat QH">
      <task name="scwf:remplirContratQh" swimlane="Administration"></task>
      <transition to="Signature Contrat QH"></transition>
   </task-node>

   <task-node name="Enregistrement QH">
      <task name="scwf:enregistrementQh" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Acceptation Plans finaux">
      <task name="scwf:acceptationPlansFinaux" swimlane="Architecture"></task>
      <transition to="Val Plan Structure Vs Charpente"></transition>
   </task-node>

   <task-node name="Plans pour Construction">
      <task name="scwf:plansPourConstruction" swimlane="Architecture"></task>
      <transition to="Verification Plans Finaux"></transition>
   </task-node>

   <task-node name="Declaration CSST">
      <task name="scwf:declarationCsst" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Declaration CCQ">
      <task name="scwf:declarationCcq" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Confirmation Assurances">
      <task name="scwf:confirmationAssurances" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Dossier Originaux">
      <task name="scwf:dossierOriginaux" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Ouverture HQ">
      <task name="scwf:ouvertureHq" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Fermeture HQ">
      <task name="scwf:fermetureHq" swimlane="Administration"></task>
      <transition to="Debourse Final"></transition>
   </task-node>

   <task-node name="Test Etancheite">
      <task name="scwf:testEtancheite" swimlane="Administration"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Inscription Novoclimat">
      <task name="scwf:inscriptionNovoclimat" swimlane="Administration"></task>
      <transition to="Inspection NovoClimat A"></transition>
   </task-node>

   <task-node name="Inspection NovoClimat A">
      <task name="scwf:inspectionNovoClimatA" swimlane="Administration"></task>
      <transition to="Certification Novoclimat"></transition>
   </task-node>

   <task-node name="Certification Novoclimat">
      <task name="scwf:certificationNovoclimat" swimlane="Administration"></task>
      <transition to="fork4"></transition>
   </task-node>

   <task-node name="Certificat Localisation">
      <task name="scwf:certificationLocalisation" swimlane="Administration"></task>
      <transition to="Preparer ODC Finaux"></transition>
   </task-node>

   <task-node name="Inspection Prereception">
      <task name="scwf:inspectionPrereception" swimlane="Administration"></task>
      <transition to="Fermeture HQ"></transition>
   </task-node>

   <task-node name="Reception zero point cinq pourcent Inst banc">
      <task name="scwf:receptionZeroPointCinqPourcentInstBanc" swimlane="Administration"></task>
      <transition to="end-state1"></transition>
   </task-node>

   <decision name="Financement nos Preteurs">
      <transition to="Reception zero point cinq pourcent Inst banc" name="Oui"></transition>
      <transition to="end-state1" name="Non"></transition>
   </decision>

   <task-node name="ODC Bardeau">
      <task name="scwf:odcBardeau" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="ODC Portes et Fenetres">
      <task name="scwf:odcPortesEtFenetres" swimlane="Designer"></task>
      <transition to="Val Dimensions Fenetres"></transition>
   </task-node>

   <task-node name="ODC Rev Exterieur">
      <task name="scwf:odcRevExterieur" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="ODC Plans Finaux VS Esquisse">
      <task name="scwf:odcPlansFinauxVsEsquisse" swimlane="Architecture"></task>
      <transition to="Acceptation Plans finaux"></transition>
   </task-node>

   <task-node name="Choix Boiseries">
      <task name="scwf:choixBoiseries" swimlane="Designer"></task>
      <transition to="ODC Boiseries"></transition>
   </task-node>

   <task-node name="ODC Boiseries">
      <task name="scwf:odcBoiseries" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Choix Plomberie">
      <task name="scwf:choixPlomberie" swimlane="Designer"></task>
      <transition to="ODC Plomberie"></transition>
   </task-node>

   <task-node name="ODC Plomberie">
      <task name="scwf:odcPlomberie" swimlane="Designer"></task>
      <transition to="Val Plomberie avec Plan"></transition>
   </task-node>

   <task-node name="Choix Luminaires">
      <task name="scwf:choixLuminaires" swimlane="Designer"></task>
      <transition to="ODC Luminaires"></transition>
   </task-node>

   <task-node name="ODC Luminaires">
      <task name="scwf:odcLuminaires" swimlane="Designer"></task>
      <transition to="Val Luminaires avec Plan"></transition>
   </task-node>

   <task-node name="Choix Armoires">
      <task name="scwf:choixArmoires" swimlane="Designer"></task>
      <transition to="ODC Armoires"></transition>
   </task-node>

   <task-node name="ODC Armoires">
      <task name="scwf:odcArmoires" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Choix Escaliers">
      <task name="scwf:choixEscaliers" swimlane="Designer"></task>
      <transition to="ODC Escaliers"></transition>
   </task-node>

   <task-node name="ODC Escaliers">
      <task name="scwf:odcEscaliers" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Choix Ceramique">
      <task name="scwf:choixCeramique" swimlane="Designer"></task>
      <transition to="ODC Ceramiques"></transition>
   </task-node>

   <task-node name="ODC Ceramiques">
      <task name="scwf:odcCeramiques" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Choix Bois Franc">
      <task name="scwf:choixBoisFranc" swimlane="Designer"></task>
      <transition to="ODC Bois Franc"></transition>
   </task-node>

   <task-node name="ODC Bois Franc">
      <task name="scwf:odcBoisFranc" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Plan Peinture">
      <task name="scwf:planPeinture" swimlane="Designer"></task>
      <transition to="ODC Peinture"></transition>
   </task-node>

   <task-node name="ODC Peinture">
      <task name="scwf:odcPeinture" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Autres Choix">
      <task name="scwf:autresChoix" swimlane="Designer"></task>
      <transition to="ODC Autres Choix"></transition>
   </task-node>

   <task-node name="ODC Autres Choix">
      <task name="scwf:odcAutresChoix" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Ouverture Hubbr">
      <task name="scwf:ouvertureHubbr" swimlane="Production"></task>
      <transition to="join3"></transition>
   </task-node>

   <task-node name="Verification Plans Finaux">
      <task name="scwf:verificationPlansFinaux" swimlane="Direction"></task>
      <transition to="ODC Plans Finaux VS Esquisse"></transition>
   </task-node>

   <task-node name="Signature Contrat QH">
      <task name="scwf:signatureContratQh" swimlane="Ventes"></task>
      <transition to="Enregistrement QH"></transition>
   </task-node>

   <task-node name="Documents Notaire">
      <task name="scwf:documentsNotaires" swimlane="Administration"></task>
      <transition to="RDV Notaire Maison"></transition>
   </task-node>

   <task-node name="Debourse Final">
      <task name="scwf:debourseFinal" swimlane="Administration"></task>
      <transition to="Financement nos Preteurs"></transition>
   </task-node>

   <task-node name="Preparer ODC Finaux">
      <task name="scwf:preparerOdcFinaux" swimlane="Direction"></task>
      <transition to="Inspection Prereception"></transition>
   </task-node>

   <task-node name="Documents Inst Finan">
      <task name="scwf:documentInstFinan" swimlane="Administration"></task>
      <transition to="Documents Notaire"></transition>
   </task-node>

   <task-node name="Acceptation hyp Finale">
      <task name="scwf:acceptationHypFinale" swimlane="Administration"></task>
      <transition to="Documents Inst Finan"></transition>
   </task-node>

   <task-node name="Val Plan Structure Vs Charpente">
      <task name="scwf:valPlanStructureVsCharpente" swimlane="Architecture"></task>
      <transition to="join4"></transition>
   </task-node>

   <task-node name="Val Dimensions Fenetres">
      <task name="scwf:valDimensionsFenetres" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Val Plomberie avec Plan">
      <task name="scwf:valPlomberieAvecPlan" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <task-node name="Val Luminaires avec Plan">
      <task name="scwf:valLuminairesAvecPlan" swimlane="Designer"></task>
      <transition to="join2"></transition>
   </task-node>

   <fork name="fork3">
      <transition to="Choix Bardeau"></transition>
      <transition to="Choix Portes Fenetres" name=""></transition>
      <transition to="Choix Rev Exterieur" name=""></transition>
      <transition to="Choix Boiseries" name=""></transition>
      <transition to="Choix Plomberie" name=""></transition>
      <transition to="Choix Luminaires" name=""></transition>
      <transition to="Choix Armoires" name=""></transition>
      <transition to="Choix Escaliers" name=""></transition>
      <transition to="Choix Ceramique" name=""></transition>
      <transition to="Choix Bois Franc" name=""></transition>
      <transition to="Plan Peinture" name=""></transition>
      <transition to="Autres Choix" name=""></transition>
   </fork>

   <join name="join2">
      <transition to="join5"></transition>
   </join>

   <fork name="fork4">
      <transition to="Plans pour Construction"></transition>
      <transition to="Certificat implantation" name=""></transition>
      <transition to="Promesse Achat" name=""></transition>
   </fork>

   <decision name="Novoclimat">
      <transition to="Inscription Novoclimat" name="Oui"></transition>
      <transition to="fork4" name="Non"></transition>
   </decision>

   <fork name="fork5">
      <transition to="Ouverture Papier"></transition>
      <transition to="Ouverture Alfresco"></transition>
      <transition to="Ouverture Outlook"></transition>
      <transition to="Ouverture Hubbr"></transition>
      <transition to="Remplir Contrat QH"></transition>
      <transition to="Declaration CSST"></transition>
      <transition to="Declaration CCQ"></transition>
      <transition to="Dossier Originaux"></transition>
      <transition to="Confirmation Assurances"></transition>
      <transition to="Test Etancheite"></transition>
      <transition to="Ouverture HQ"></transition>
   </fork>

   <join name="join3">
      <transition to="join5"></transition>
   </join>

   <join name="join4">
      <transition to="join5"></transition>
   </join>

   <join name="join5">
      <transition to="Certificat Localisation"></transition>
   </join>

   <task-node name="Felicitation au client">
      <task name="scwf:felicitationAuClient" swimlane="Ventes"></task>
      <transition to="Fournisseur Choix"></transition>
   </task-node>

   <task-node name="Fournisseur Choix">
      <task name="scwf:fournisseurChoix" swimlane="Ventes"></task>
      <transition to="fork3"></transition>
   </task-node>


   <end-state name="end-state1"></end-state>


</process-definition>

Merci d'avance à vous.

Outcomes