AnsweredAssumed Answered

Custum workflow forms

Question asked by tomash on Oct 18, 2012
Latest reply on Nov 26, 2012 by tomash
I want to modify the default workflow form for my own start workflow form. I've tried to change the config-file
"$TOMCAT_HOME/share/WEB-INF/classes/alfresco/webextension/share-workflow-form-config-custom.xml" without success and (alternatively) the file "share-config-custom.xml" without success too. The following (simple) change I want put in these files, especially the "hide"-attribute doesnt work:

<config evaluator="string-compare" condition="activiti$helloWorldUI">
      <forms>
         <form>
            <field-visibility>
            <show id="bpm:workflowDescription" />
            <show id="packageItems" />
            <hide id="wf:helloName" />
            <show id="transitions" />   
         </field-visibility>   
         <appearance>
            <set id="items" appearance="title" label-id="workflow.set.items" />
            <set id="other" appearance="title" label-id="workflow.set.other" />
            <set id="response" appearance="title" labelid="workflow.set.response" />
            
            <field id="bpm:workflowDescription" labelid="workflow.field.message">
               <control template="/org/alfresco/components/form/controls/textarea.ftl">
                  <control-param name="style">width: 95%</control-param>
               </control>
            </field>
            <field id="packageItems" set="items" />
            <field id="transitions" set="response" />
         </appearance>
      </form>
   </forms>
</config>

I cannot find out any changes if I start the workflow.

The process-id ist named "helloWorldUI" too.
Its a fresh standard Installation of Aldresco 4.2a CE on Windows7.

Whats wrong?  I've got my information to modify share from https://wiki.alfresco.com/wiki/Custom_Share_Workflow_UI.

I hope someone can help me.
Thomas

Outcomes