In PlusWorkflow version 3.1.15, it was made possible to download data source via API.
It is recommended that this is how the data source is taken by the modules that need it. This way there will be no need to customize such modules, for example: for a system that supports multiple databases.
Download the data source
DataSource dataSource = DataSourceFactory.getDataSource();