Setting Up The Task Priority

1
0
-1

Dear Forum

I would like to change the human task priority and display them sorted by the highest in Portal. Which way is the easiest way to do that? Thank you very much for your support.

Best regards

1 answer

1
+1
-1

I'm not sure it's possible to alter the priority as you might wish, the actual classifications of priority are as follows:
http://documentation.bonitasoft.com/javadoc/api/7.4/org/bonitasoft/engin...

see setTaskPriority here for further details:

setTaskPriority(long, TaskPriority) - Method in interface org.bonitasoft.engine.api.ProcessRuntimeAPI
Set the priority of a user task.

As for changing the UI - you will have to modify the source and then publish that yourself I suspect.

regards
Seán

PS: While this may not be the complete answer you're hoping for, it does indicate a possible solution, please mark as resolved.

Comments

Submitted by hendrasuparmo on Mon, 05/15/2017 - 16:28

Hi Sean

I tough for a simpler solution, I would not change the items, just to change a task priority from normal to highest for example, and show the highest priority task in portal, may it would be a simple solution? Thank you very much for your attention.

Best regards

Submitted by hendrasuparmo on Tue, 05/16/2017 - 18:38

Hi Sean

I tough I did not mentioned clearly what I need to do, sorry for that. What I would like to do is to have a variable in my form that could update the task priority from normal to highest. Which variable that I should use and how ? thank you very much for your support
Best regards

Notifications