cancel
Showing results for 
Search instead for 
Did you mean: 

Can't deploy my first custom workflow, can anybody helps?

paolo26670
Champ in-the-making
Champ in-the-making
Hi everybody

I'm trying to deploy to alfresco my first workflow but I cannot reach the goal!

I'm using Eclipse

I've tried to reproduce the tutorial recorded at Alfresco Summit 2013 (http://summit.alfresco.com/boston/sessions/boost-your-productivity-next-gen-bpm-tooling)

I do everything the programmer do in the tutorial, the Form is ok , then I deploy with CMIS to my alfresco with no error , then I enter Alfresco, start a new Workflow on a document, the Workflow name is in the list  but when the start form shows.. the result is not what I was expecting, the fields I designed in Eclipse are not in the Alfresco form..

The form displayed is a mix between the form I designed and a standard workflow form..

Can somebody help me?

thanks in advance!

Paolo
16 REPLIES 16

magda
Champ in-the-making
Champ in-the-making
I have same problem.

I was following step by step from this tutorial: http://stacktrace.be/blog/2014/01/rapid-alfresco-workflow-development-with-activiti-kickstart/

Also I am using dynamic deploy from https://github.com/frederikheremans/alfresco-share-modules-refresh. On the github.come is written "start the share tomcat". It can be original tomcat configured with Alfresco or it must be share tomcat (http://docs.alfresco.com/4.1/tasks/share-tomcat-deploy.html)?

http://localhost:8080/share/service/reload-module-deployments returns "Refreshed all internal caches" but the form displayed is a mix between the form I designed and a standard workflow form. In the kickstart I have fieldname "Name" but Alfresco show hire:name (filename:fieldname).

I read http://docs.alfresco.com/4.2/concepts/forms-intro.html but according to this page for each workflow procces i should confiure manually.

Please, helpSmiley Sad

Magda

trademak
Star Contributor
Star Contributor
Difficult to say anything without more details. Please provide more information about your process and forms.

Best regards,

magda
Champ in-the-making
Champ in-the-making
Hi!
Thanks for your reply.
Today I solved this problem. The problem was a connection with solr. I solved it Smiley Happy

Regards,
Magda

giri1
Champ in-the-making
Champ in-the-making
Hi,

I am creating aspects dynamically, and for the UI form change I am adding the visibility as following

share-config-custom.xml:
        < visible >
            <aspect name="ct:newaspect" />
         </visible>
          ……………………
           <config  evaluator="node-type" condition="cm:content">
            <forms>  
    <form>
    <field-visibility>
       <show id="ct:newfield" />
    </field-visibility>
    </form>
    <form id="doclib-simple-metadata">
    <field-visibility>
       <show id="ct:newfield" />
    </field-visibility>
    </form>
    <form id="doclib-inline-edit">
    <field-visibility>
       <show id="ct:newfield" />
    </field-visibility>
    </form>
   </forms>
  </code>

Now, I am trying to get these UI changes dynamically without restarting tomcat.

Is it possible through https://github.com/frederikheremans/alfresco-share-modules-refresh ?

Because I added and tried this, when I access this URl http://localhost:8081/share/service/reload-module-deployments after my change
It is responding with the msg "webscript is deployed successfuly"… But the values in UI "Manage Aspect" did not have the change..
 
But however after tomcat restart, Ui got the changes.
Thanks,

jbarrez
Star Contributor
Star Contributor
Not sure, that module has not been maintained for a long while … so no idea if it still works.

bluvent
Champ on-the-rise
Champ on-the-rise
I was doing the same steps, but got error " CmisRuntimeException: null "

Any ideas ?

jbarrez
Star Contributor
Star Contributor
Please don't spam this everywhere … this is really not helping to resolve this problem :s