In our flows, we’d like to implement a “next available user” feature. We have some code to help determine who is the most eligible user from a group to assign the task to, but we’re not sure where to call it from from within the engine.
Most of the calls in the engine for setAssignee() are done when parsing the model json (when defining the process model). We’d like to invoke this code when the task is being instantiated instead.
Any help is appreciated!