AnsweredAssumed Answered

Add but not remove file during workflow

Question asked by dranakan on Nov 29, 2011
Latest reply on Dec 9, 2011 by dranakan
Hello,

I would like to add a document at the beginning of a workflow. During the other steps of the workflow the users will not be able to remove this first document but can add other documents. How can I do that ?

My ideas :
1.Changing in the model the properties below can't do what I want.

<overrides>
          <property name="bpm:packageActionGroup">
                  <default>add_package_item_actions</default>
          </property>
          <property name="bpm:packageItemActionGroup">
                  <default>…./default>
          </property>
</overrides>
2. My second idea is to add a new block to add document (like "field id="packageItems2" set="items" />". I have try to add to a text field the link to the packageitems.ftl and change some code inside packageitems.ftl but for the moment it's not working… I don't know if it's possible…
<field id="sgfwf:libelle4" set="items" >
                <control>
                        <control template="/org/alfresco/components/form/controls/workflow/packageitems.ftl" />
                </control>

Outcomes