cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] Error with advance workflow custom UI parameter

gael_poffet
Champ in-the-making
Champ in-the-making
Hi,
Currently I’m trying the Advanced Workflow example we can find in the Jeff Pott's Alfresco book (a great book 🙂 ) but I can’t finish the HelloWorldUI one. The goal of this exemple is to add a really simple advanced workflow with one node grabbing a text from the user and then showing it in logs .
Everything is going well, no error in build and deployement, no error in Alfresco startup and I can see the workflow in the UI. When I try to use it I should see a text field named "Name" where I should be able to add a name which will be written in the logs. Instead of that I have a read-only "Owner" field coming from nowhere.

Am I the only one to have this issue ? For info, I'm using the version 3.0 community of Alfresco.

Thanks for your help, I'm getting completely mad…
3 REPLIES 3

algoworks
Champ in-the-making
Champ in-the-making
A common error by developers is not defining task specific <config> node in web-client-config-custom.xml. Please verify if you have defined it properly.

Thanks,
Algoworks Alfresco Team
http://www.algoworks.com

gael_poffet
Champ in-the-making
Champ in-the-making
OH ! Thanks a lot ! That was the issue. Two days lost just because of that.

For other people having this problem, I have added in web-client-config-custom.xml:


<config evaluator="node-type" condition="scwf:submitHelloWorldTask" replace="true">
      <property-sheet>
         <show-property name="scwf:helloName" />
      </property-sheet>
   </config>

algoworks
Champ in-the-making
Champ in-the-making
We are happy that we could be of your help. Alfresco Rocks!!!  Smiley Very Happy

Thanks,
Algoworks Alfresco Team
http://www.algoworks.com