Connecting Flowable to more than One Active Directory Server

Is there a way to configure Flowable with two different microsoft active directories with different Base DN and Group DN paths?

I have a requirement where two entities are merging together and users from different Microsoft AD’s are required authenticate and access the tasks in flowable.

If possible, then please share the sample configuration or any other alternative way to allow flowable to authenticate and allow the user to access the Task upon authentication and with valid authorization.

No, the LDAP integration works with one base DN. You will have to write your own integration, based on the existing one. The code lives here: https://github.com/flowable/flowable-engine/tree/master/modules/flowable-ldap

thanks for the clarifications