How to dynamically change TaskOwner/PotentialOwners of a task in jBPM5 ?

Solution Unverified - Updated -

Issue

The requirement is to assign users to tasks before and during a task execution.

Specifically:

  • Is it a good idea to assign tasks to variables, eg. 'node1User', and then assign the users as a map, eg. (node1User=John, node2User=Paul, node3User=George, node4User=Ringo). If not, what the recommend approach to assign users to tasks before an instance is started?

  • Is it possible to assign a different user to a task once a instance has already started? It is understandable that users will only be able to assign new users to tasks that haven't been executed yet.

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 5.3.x
  • jBPM
    • 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content