AnsweredAssumed Answered

Association in workflow doesnot work in 3.4 (works in 3.0)

Question asked by johnhelen on Jan 2, 2011
Latest reply on Sep 18, 2011 by evgenikka

I created a workflow and deployed and work well in Alfresco 3.0. However, I cannot deploy it into 3.4,

Here is the type "submitCustomTask" for my Model

      <import uri="" prefix="d" />
      <import uri="" prefix="wcmwf" />
      <import uri="" prefix="wca"/>      

   <!– Introduction of new namespaces defined by this model –>
      <namespace uri=""
         prefix="mywf" />
         <type name="mywf:submitCustomTask">
            <association name="wcmwf:webproject">   

In the code, there is an association  <association name="wcmwf:webproject">

It works well with Alfresco 3.0

When I tried to deploy it into Alfresco 3.4, I got error when restart Alfresco server. It complained that it cannot create Association with name "wcmwf:webproject" as namespace "" was not declared (but I already imported it).

When I change from

<association name="wcmwf:webproject">
to my custom prefix namespace:

<association name="mywf:webproject">

I can deploy it but when I test it in the Alfresco UI, I got this message:
"Mandatory task properties have not been provided: {}webproject"

I donot know what happen as I am not good with workflow, can anyone help

Many thanks