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: https://github.com/Haulmont/cuba-bpm/blob/master/modules/web/src/com/company/workshop/web/order/OrderEdit.java