cancel
Showing results for 
Search instead for 
Did you mean: 

Assign workflow doesn't show customized workflow

samuele_atnis
Champ in-the-making
Champ in-the-making
Hi all,
I developed a custom (dummy) workflow and I successfully deployed it inside Alfresco (/jsp/admin/workflow-console.jsp tool shows it).
How can I show custom workflow in "Assign workflow" dialog?

Thanks in advance,
Samuel

PS: Sorry for my english  Smiley Surprisedops:
2 REPLIES 2

invictus9
Champ in-the-making
Champ in-the-making
You need to extend the web client to show the work flow as a choice. In practice, this means you need to create a bean context file.

samuele_atnis
Champ in-the-making
Champ in-the-making
Hi invictus9,
thanks for your reply!
Can you tell me which file do I extend? Moreover, can you provide me an example of web client extension?
Currently, I've just created a file my-context.xml in which I inserted such code:

<beans>
   <bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
       <props>
          <prop key="engineId">jbpm</prop>
          <prop key="location">alfresco/extension/my_processdefinition.xml</prop>
          <prop key="mimetype">text/xml</prop>
          <prop key="redeploy">false</prop>
       </props>
         </list>
      </property>
      <property name="models">
      <list>
                   <value>alfresco/extension/my_model.xml</value>
      </list>
      </property>
      <property name="labels">
      <list>
                   <value>alfresco/extension/mynew-messages</value>
      </list>
      </property>
   </bean>
</beans>
Thanks for your help,
Samuele