We have setup Flowable to authenticate users against AD. Users in AD have mixed case ids. A user can login to Flowable with case insenstive user ids. However, tasks that are assigned to a user, with a mixed case user id are not visible in the Tasks page of the Task App.
- User logs into flowable using userid seed. AD authenticates them against userid Seed.
2)A service task assigns a User Task to a user based on value stored in AD, ie Seed.
- seed user logged into Flowable cannot see User Task. I assume Task app is displaying tasks based on a case sensitive query
Is there a way to configure the Task App to search for tasks for users in a case-insensitive manner.
Can someone give some advice on this?
Not now. But there are many possibilities how to change it. You could change FlowableTaskQueryService to use e.g upper case userId and use expressions to assign tasks only to upper case userIds.
Another possibility is to change MyBatis queries to make case insensitive queries.
Thanks for that advice.
What is the correct approach for changing a service such as FlowableTaskQueryService. I need the changes to be picked up in the Task Application. Are there any examples of over riding a service so that it gets picked up by a spring-bootstrap app.
You can modify task app, or create your own rest endpoint. In both cases task app modification is needed.