Task list for user is case sensitive


#1

Hi Guys,
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.

Use Case:

  1. 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.
  2. 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.

Regards

Brian


#2

Hi Guys,

Can someone give some advice on this?

Regards

Brian


#3

Hi Brian,

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.

Regards
Martin


#4

Hi Martin,

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.

Regards

Brian


#5

Hi,

You can modify task app, or create your own rest endpoint. In both cases task app modification is needed.

Regards
Martin