[SOLVED] Parallel workflow: 'required percentage' parameter

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2009 09:53 AM
Hi everyone!
I successfully implemented the parallel review workflow in Alfresco via the file parallelreview_processdefinition.xml.
My request is about the required approval percentage. Each time I assign a new task to multiple users, it asks me for this percentage. I would like to get rid of the parameter on the web client UI. I understand that in the file parallelreview_processdefinition.xml, I am supposed to put this
Does anyone know how to delete this parameterwithin the UI?
Many thanks in advance! Hope you'll be able to answer that, it will help me a lot! :mrgreen:
I successfully implemented the parallel review workflow in Alfresco via the file parallelreview_processdefinition.xml.
My request is about the required approval percentage. Each time I assign a new task to multiple users, it asks me for this percentage. I would like to get rid of the parameter on the web client UI. I understand that in the file parallelreview_processdefinition.xml, I am supposed to put this
wf_requiredPercent = 100;instead of this
wf_requiredPercent = wf_requiredApprovePercent;, but it still asks me for this in the UI.
Does anyone know how to delete this parameterwithin the UI?
Many thanks in advance! Hope you'll be able to answer that, it will help me a lot! :mrgreen:
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2009 05:38 AM
This could simply be achieved by editing the file web-client-config-properties.xml.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2013 01:32 AM
Hi
I'm trying to do the same thing (I want to hide requiredApprovePercent and set its value to 100)
I have done the same and succeeded in the hiding
yet it still takes the default value of the field, namely 50 and not 100
I did change the code in parallelreview_processdefinition.xml,
Is there something I'm missing?
I'm trying to do the same thing (I want to hide requiredApprovePercent and set its value to 100)
I have done the same and succeeded in the hiding
yet it still takes the default value of the field, namely 50 and not 100
I did change the code in parallelreview_processdefinition.xml,
Is there something I'm missing?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2014 08:28 AM
I found it. For my part, i would like to modifiy the defaut value to 100 in the share UI. The workflow form creation call a file named percentage-approve.js.
In this one (in percentage-approve-min.js in fact) you have to modify this line to custom the value.
Hope it will help.
In this one (in percentage-approve-min.js in fact) you have to modify this line to custom the value.
onReady: function PercentageApprove_onReady() { Dom.get(this.id).value = 100; //Custom line ! this._updateCurrentValue(); // Add listener for input field to keep the generated value up-to-date Event.addListener(this.id, "keyup", this._handleFieldChange, this, true); },
Hope it will help.
