Hi.
I created process started with bpm:startTask but now change request come. I have to change starting form to something else. So I created new type in workflow-model.xml
<types>
<type name="sofa:startTask">
<title>Start Sending Order for Approval</title>
<parent>bpm:startTask</parent>
</type>
</types>
This type I used as formKey in my process
<process id="sendingOrderForApprovalProcess" name="Sending Order for Approval" isExecutable="true">
<startEvent id="startevent1" name="Start" activiti:formKey="sofa:startTask"></startEvent>
For this purpose I created new share project containing only share-config-custom.xml with form definition
<config evaluator="string-compare" condition="activiti$sendingOrderForApprovalProcess">
<forms>
<form>
<field-visibility>
<hide id="bpm
ercentComplete" />
<hide id="bpm:status" />
<show id="cm:name" />
<show id="packageItems"/>
</field-visibility>
<appearance>
<field id="cm:name">
<control>
<control-param name="maxLength">255</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
When I choose start process Alfresco opens standard form.
I can see in the log invoking process
Generating form for item:
id = activiti$sendingOrderForApprovalProcess
But my form definition is not used. I am missing something somewhere.