Filter one datasource with two datasources

Hello, I have a datasource on a screen that I try to filter with two other datasources, throws exception: java.lang.UnsupportedOperationException: Could not depend Datasource from two different sources
The query is: select and connectoctopus from $ FicheroFtp and
e.ftpconf.id = Where: ds $ ftpConfsDs and
e.grupoFtps.id =: ds $ grupoFtpsDs
Just a datasource is admitted to filter?
Greetings.

Unfortunately, only one datasource is supported for the declarative dependency. But you can easily maintain any dependencies using datasource listeners:


firstDs.addItemChangeListener(event -> {
   dependentDs.refresh(event.getItem(), secondDs.getItem());
}); 
secondDs.addItemChangeListener(event -> {
   dependentDs.refresh(firstDs.getItem(), event.getItem());
});