two package fields in advanced workflow

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2012 06:30 PM
I created an advanced workflow (with Activiti) and I want the Share UI displaying two package fields (template packageitems.ftl) so I can import two package items separately in my workflow.
I tried many possibilies but in vain.
Sorry for my English.
I tried many possibilies but in vain.
Sorry for my English.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 05:34 AM
in your workflow model you'll need to create a new association for the new packaged items. I'm not sure how alfresco handles them in the backend (haven't checked the code) but you might need to extend some classes to have it working….
You'll need to create your own workflow task (by inheriting from bpm:workflowTask for example) and adding an extra association:
Then you'll need to configure the form.
I haven't tried it… so don't know if it works…
You'll need to create your own workflow task (by inheriting from bpm:workflowTask for example) and adding an extra association:
<type name="my:workflowTask"> <parent>bpm:workflowTask</parent> <associations> <association name="my:package"> <source> <mandatory>false</mandatory> <many>false</many> </source> <target> <class>bpm:workflowPackage</class> <mandatory>true</mandatory> <many>false</many> </target> </association> </associations>
Then you'll need to configure the form.
I haven't tried it… so don't know if it works…
