BPM: Assigning to roles / users automatically

In the example of contract approval (in developers guide) the process demonstrates a simple workflow where each new contract requires selection of users to approve.

Assigning users to approve considered useful in specific work-flow but in routine processes it is a waste of time! Therefore, Is it possible to assign the approval tasks to roles / users automatically based on predefined roles/users for the document?

Take a look at this project:

Especially to the OrderEdit controller: cuba-bpm/OrderEdit.java at master · Haulmont/cuba-bpm · GitHub