advance workflow in 'Share'

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2009 05:29 AM
hi all,
apparently the share app doesnt allow advanced workflow at present.
are they any quick hacks that would allow custom workflows to be executed in share?
-lp
apparently the share app doesnt allow advanced workflow at present.
http://wiki.alfresco.com/wiki/Workflow_on_Share
are they any quick hacks that would allow custom workflows to be executed in share?
-lp
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2009 05:32 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2009 05:36 AM
are they any quick hacks that would allow custom workflows to be executed in share?You could try adding your workflow id to workflow.get.html.ftl (webscript in modules / documentlibrary) - it's untested so may or may not work.
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2009 07:25 PM
hi mike
thanks for the heads up on the workflow.get.html.ftl.
looking at the file the workflows are hard coded.
unfortunately i have no idea what the values 'wf:adhoc' refer to.
i suspect placing my definition id as the value wont work.
but this is definitely a starting point.
-lp
thanks for the heads up on the workflow.get.html.ftl.
looking at the file the workflows are hard coded.
<option value="wf:review" selected="selected">Review & Approve</option><option value="wf:adhoc">Adhoc Task</option>
unfortunately i have no idea what the values 'wf:adhoc' refer to.
i suspect placing my definition id as the value wont work.
but this is definitely a starting point.
-lp

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2009 03:56 AM
"wf:adhoc" goes for the name of the workflow, as you can read in the beginning of its own file adhoc_processDefinition.xml :
So, add an option value with the name of your own custom workflow, this should be working
<?xml version="1.0" encoding="UTF-8"?><process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf:adhoc"> …
So, add an option value with the name of your own custom workflow, this should be working

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2009 02:16 PM
hi mike
thanks for the heads up on the workflow.get.html.ftl.
looking at the file the workflows are hard coded.<option value="wf:review" selected="selected">Review & Approve</option><option value="wf:adhoc">Adhoc Task</option>
unfortunately i have no idea what the values 'wf:adhoc' refer to.
i suspect placing my definition id as the value wont work.
but this is definitely a starting point.
-lp
I would be very interested to know if you managed to get this working?
