We are building a complex workflow that include collaboration between 12 departments.
When the process is initiated, we have 12 parallel tasks representing departments and each is assigned to a group to take action. In the connectors in, we are getting the list of users in this each group through the call below and send an email to notify the task users about the new task.
groupUsers = apiAccessor.identityAPI.getActiveUsersInGroup(group, 0, 100, USER_NAME_DESC)
This line of code is being executed 1 time per department (12 times in total) and we are getting the below exception
The element will be marked as failed. Exception is: org.bonitasoft.engine.lock.SLockTimeoutException: Unable to acquire lock 70004,PROCESS,1 in 60 seconds
How we can solve it. We need to get the groups users to notify them.