Workflow with non many association items package
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2011 09:55 AM
Hi at all,
i need to change the assignation of the package items for the workflows. Hi have to make that is possible to start a worklflow for only one document at time. Hi read the bpmModel.xml but i don't understad how i can change the association multiplicity.
If is possible how i can do that? Or there is some other way to do it (like change Share UI configuration for the form)?
i need to change the assignation of the package items for the workflows. Hi have to make that is possible to start a worklflow for only one document at time. Hi read the bpmModel.xml but i don't understad how i can change the association multiplicity.
If is possible how i can do that? Or there is some other way to do it (like change Share UI configuration for the form)?
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2011 01:56 AM
Hi rascio,
If I understood correctly , you want to restrict no. of files to be attached to a workflow.
There is file placed in location tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/bpmModel.xml.
Search for bpm
ackage and make the changes in the target tag . Replace "true" with "false" .
<target>
<class>sys:base</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
If I understood correctly , you want to restrict no. of files to be attached to a workflow.
There is file placed in location tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/bpmModel.xml.
Search for bpm

<target>
<class>sys:base</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
<type name="bpm:package"> <title>Package Folder</title> <parent>cm:systemfolder</parent> <archive>true</archive> <associations> <child-association name="bpm:packageContains"> <source> <mandatory>false</mandatory> <many>true</many> </source> <target> <class>sys:base</class> <mandatory>false</mandatory> <many>true</many> </target> <duplicate>true</duplicate> <propagateTimestamps>true</propagateTimestamps> </child-association> </associations> </type>
