AnsweredAssumed Answered

Process start task form problem

Question asked by pnature on Oct 26, 2017
Latest reply on Nov 2, 2017 by pnature


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


        <type name="sofa:startTask">
            <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" />
                    <show id="packageItems"/>
                    <field id="cm:name">
                         <control-param name="maxLength">255</control-param>


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.