cancel
Showing results for 
Search instead for 
Did you mean: 

advance workflow in 'Share'

lpiccoli
Champ in-the-making
Champ in-the-making
hi all,

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
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
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

lpiccoli
Champ in-the-making
Champ in-the-making
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 &amp; 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

jayjayecl
Confirmed Champ
Confirmed Champ
"wf:adhoc" goes for the name of the workflow, as you can read in the beginning of its own file adhoc_processDefinition.xml :


<?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

gronfelt
Champ in-the-making
Champ in-the-making
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 &amp; 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?