I remember reading about how to StartProcess (through code) and it would be automatically assigned to a User when there was only one user possible to execute it.
can someone who knows what I’m talking about point me to where to find it again…then I can use it…
When you create process instance programmatically it will skip the case start form.
The process will be executed until it reach a blocking event (e.g. intermediate timer event) or a human task.
In order to automatically assign a task to a user you need to use a filter that will return exactly one user id.
The filter also need to be configured to auto assign the task if filter return a single result (method shouldAutoAssignTaskIfSingleResult of the filter).
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.