How can i assign a workflow to a Role

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Rokko_91
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Jul 18, 2019 6:37 am

How can i assign a workflow to a Role

Post by Rokko_91 » Fri Jul 19, 2019 9:43 am

Hi, i am trying to assing a task to a Role istead to a single or a pooled actor.

i saw an example here:https://www.openkm.com/wiki/index.php/Use_of_task_node
The example is this one:
Expression: This is an assignment expression evaluated by the jBPM identity component. Can make assignment by user or role (See note below). For example you can assign userd from a OpenKM role using the "group(ROLE_USER)" expression. This create a collection of pooled actors with using whithin ROLE_USER role.

i tryed to assign my task to an Expression as suggested, but is not woking. and i get this error from logs :

Jul 19, 2019 11:10:24 AM org.jbpm.instantiation.Delegation instantiate
SEVERE: couldn't load delegation class ''

Can u help me?

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: How can i assign a workflow to a Role

Post by pavila » Mon Jul 22, 2019 9:41 am

It's better if you create an assignHandler and programatically get the users from a role.

Best regards.

Rokko_91
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Jul 18, 2019 6:37 am

Re: How can i assign a workflow to a Role

Post by Rokko_91 » Wed Jul 24, 2019 3:00 pm

Do u have any documentation about assignHandlers?
some java code examples that i can follow?

thanks for any suggestion

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: How can i assign a workflow to a Role

Post by pavila » Thu Jul 25, 2019 8:27 am


Post Reply