cancel
Showing results for 
Search instead for 
Did you mean: 

Custom property not showing in workflow

sihnu
Champ in-the-making
Champ in-the-making
Hello, I've been following this wiki: http://wiki.alfresco.com/wiki/WorkflowAdministration#Step_2:_Create_the_Task_Descriptions

I'm having problem to add my own custom property to the start-state of the workflow. I've got web-client-config-custom file at my share/alfresco/extension directory with following information:

<alfresco-config>
   
   <config evaluator="node-type" condition="wf:submitAdhocTask" replace="true">
   <property-sheet>
      <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
      <show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
      <show-property name="bpm:workflowPriority" />
      <show-property name="bpm:workflowDueDate" />
      <show-property name="wf:notifyMe" />
      <show-property name="wf:derpaderpa" />
      <separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
      <show-association name="bpm:assignee" />
   </property-sheet>
   </config>

   <config evaluator="node-type" condition="wf:adhocTask" replace="true">
   <property-sheet>
      <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
      <show-property name="bpm:taskId" />
      <show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
      <show-property name="bpm:status" />
      <show-property name="bpm:dueDate" />
      <show-property name="bpm:priority" />
   </property-sheet>
   </config>


   
</alfresco-config>

But it doesn't seem to pick up those properties. Is that wrong file or wrong directory? I've tried removing "notifyme" propery at the web-client-config-custom file but nothing happens but if I remove the property from the module it disappears. So it seems my web-client-config-custom file has no effect but it is handled somewhere else. I found the same property from share-workflow-form-config.xml file.

My own web-client-config-custom should override but it is not doing that. What is wrong? Could anyone help?
2 REPLIES 2

sihnu
Champ in-the-making
Champ in-the-making
Hmm… I tested the workflow but for some reason when trying to complete the task (task done) it gives error:

org.alfresco.service.cmr.workflow.WorkflowException: 02250025 Failed to signal transition null from workflow task jbpm$19.

Anyone got a clue why this error is happening? I've followed the wikipedia and done only some slight modifications which should not have effect.

amitabhandari1
Champ in-the-making
Champ in-the-making
HI sihnu,

First of all , I would like to confirm  location of the files.
web-client-config-custom.xml should be placed in tomcat/shared/classes/alfresco/extension.
As per your post , it is placed under "share/alfresco/extension".

Can you post your workflow files ,which will be helpful in finding out errors.

Thanks,