I have created a very simple workflow, and it is deployed correctly. However, when I start the workflow, I cannot select an assignee, because the "select" button is not rendered on the page (see attached screenshot).My Alfresco version is 4.2.a.I have copied the process definition (bc2process.bpmn) and workflow context (bc2process-workflow-context.xml) to this folder: \alfresco_4.2.a\tomcat\shared\classes\alfresco\extensionThe files:bc2process.bpmn:
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti="http://activiti.org/bpmn"
typeLanguage="http://www.w3.org/2001/XMLSchema"
expressionLanguage="http://www.w3.org/1999/XPath"
targetNamespace="http://www.activiti.org/test">
<process id="bc2process" name="BC2 Process" isExecutable="true">
<startEvent id="eventStart" name="Start"></startEvent>
<userTask id="bc2Task" name="BC2 Task" activiti:formKey="bpm:workflowTask"></userTask>
<endEvent id="eventEnd" name="End"></endEvent>
<sequenceFlow id="flow1" sourceRef="eventStart" targetRef="bc2Task"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="bc2Task" targetRef="eventEnd"></sequenceFlow>
</process>
</definitions>
bc2process-workflow-context.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="wf-bc2process" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">activiti</prop>
<prop key="location">alfresco/extension/bc2process.bpmn</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">false</prop>
</props>
</list>
</property>
<property name="models">
<list>
<value>alfresco/model/bpmModel.xml</value>
</list>
</property>
</bean>
</beans>
In \alfresco_4.2.a\tomcat\webapps\share\WEB-INF\classes\alfresco\share-workflow-form-config.xml, I have added the following, to customise the form:
…
<config evaluator="string-compare" condition="activiti$bc2process">
<forms>
<form>
<field-visibility>
<show id="bpm:assignee" />
<show id="packageItems" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.general" />
<set id="info" appearance="" template="/org/alfresco/components/form/2-column-set.ftl" />
<set id="assignee" appearance="title" label-id="workflow.set.assignee" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="other" appearance="title" label-id="workflow.set.other" />
<field id="bpm:assignee" label-id="workflow.field.assign_to" set="assignee" />
<field id="packageItems" set="items" />
</appearance>
</form>
</forms>
</config>
…
EDIT: I cannot edit the Tags, as nothing happens when I type in the text field.