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
<title>Start Sending Order for Approval</title>
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">
<hide id="bpm:percentComplete" />
<hide id="bpm:status" />
<show id="cm:name" />
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.